[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bison 3.7.5 released
From: |
Hans Åberg |
Subject: |
Re: Bison 3.7.5 released |
Date: |
Mon, 25 Jan 2021 10:59:03 +0100 |
> On 24 Jan 2021, at 09:04, Akim Demaille <akim@lrde.epita.fr> wrote:
>
> This release fixes several issues…
When I compiled using clang-11 of MacPorts, I got some warnings.
../bison-3.7.5/configure CXX=/opt/local/bin/clang++-mp-11
CC=/opt/local/bin/clang-mp-11 CPPFLAGS="-g -I /usr/local/include" LDFLAGS="-L
/usr/local/lib"
make -j
…
AR lib/liby.a
../bison-3.7.5/lib/hash.c:501:11: warning: implicit conversion from 'unsigned
long' to 'float' changes value from 18446744073709551615 to
18446744073709551616 [-Wimplicit-const-int-float-conversion]
if (SIZE_MAX <= new_candidate)
^~~~~~~~ ~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:173:27:
note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX UINTPTR_MAX
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:154:27:
note: expanded from macro 'UINTPTR_MAX'
#define UINTPTR_MAX 18446744073709551615UL
^~~~~~~~~~~~~~~~~~~~~~
../bison-3.7.5/lib/hash.c:964:15: warning: implicit conversion from 'unsigned
long' to 'float' changes value from 18446744073709551615 to
18446744073709551616 [-Wimplicit-const-int-float-conversion]
if (SIZE_MAX <= candidate)
^~~~~~~~ ~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:173:27:
note: expanded from macro 'SIZE_MAX'
#define SIZE_MAX UINTPTR_MAX
^~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdint.h:154:27:
note: expanded from macro 'UINTPTR_MAX'
#define UINTPTR_MAX 18446744073709551615UL
^~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
AR lib/libbison∀