[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bison-3.2 released [stable]
From: |
Hans Åberg |
Subject: |
Re: bison-3.2 released [stable] |
Date: |
Mon, 29 Oct 2018 22:52:44 +0100 |
> On 29 Oct 2018, at 21:33, Akim Demaille <address@hidden> wrote:
>
> We are very happy to announce the release of Bison 3.2!
Actually two warnings on make with MacOS inhouse clang, the obstack one same as
with 3.1 :-), and one with the bitset. All tests passed though.
--
MacOS 10.13.6.
$ gcc --version
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 10.0.0 (clang-1000.11.45.2)
Target: x86_64-apple-darwin17.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
$ make
…
CC lib/bitset.o
../bison-3.2/lib/bitset.c:356:16: warning: using the result of an assignment as
a condition without parentheses [-Wparentheses]
while (num = bitset_list (src, list, BITSET_LIST_SIZE, &next))
~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../bison-3.2/lib/bitset.c:356:16: note: place parentheses around the assignment
to silence this warning
while (num = bitset_list (src, list, BITSET_LIST_SIZE, &next))
^
( )
../bison-3.2/lib/bitset.c:356:16: note: use '==' to turn this assignment into
an equality comparison
while (num = bitset_list (src, list, BITSET_LIST_SIZE, &next))
^
==
1 warning generated.
CC lib/obstack.o
../bison-3.2/lib/obstack.c:351:31: warning: incompatible pointer types
initializing 'void (*)(void) __attribute__((noreturn))' with an expression of
type
'void (void)' [-Wincompatible-pointer-types]
__attribute_noreturn__ void (*obstack_alloc_failed_handler) (void)
^
1 warning generated.
--