Hi Derek! Please, keep it public!
> Le 20 mai 2018 à 16:10, Derek Clegg <[email protected]> a écrit : > > For what it’s worth, when compiling bison I see this warning: > > 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) Yes, I’ve seen that, and plan to fix it later. Warnings when compiling bison are ok. > Also, to avoid errors like so: > > aux/sc-parser-internal.h:545:26: error: definition of implicit copy > constructor > for 'stack_symbol_type' is deprecated because it has a user-declared > copy > assignment operator [-Werror,-Wdeprecated] > stack_symbol_type& operator= (const stack_symbol_type& that); > > I needed this patch: > > diff -ur bison-3.0.4/data/lalr1.cc bison/data/lalr1.cc > --- bison-3.0.4/data/lalr1.cc 2015-01-22 22:52:50.000000000 -0800 > +++ bison/data/lalr1.cc 2017-10-06 12:18:45.000000000 -0700 > @@ -318,6 +318,7 @@ > stack_symbol_type (state_type s, symbol_type& sym); > /// Assignment, needed by push_back. > stack_symbol_type& operator= (const stack_symbol_type& that); > + stack_symbol_type(const stack_symbol_type& that) = default; > }; This in turn is a show-stopper. I will address this in 3.0.5, thanks for reporting! > /// Stack type. > > However, this isn’t new — this has been around for a while. > > Other than that, I haven’t encountered any issues when using this version. > > Thanks for your work on bison — it’s appreciated! > > Derek Clegg > >> On May 20, 2018, at 1:44 AM, Akim Demaille <[email protected]> wrote: >> >> Hi all, >> >> I think Bison 3.0.5 is ready. However, before making it widely >> available it would be nice if people could give it a try on their >> projects. >> >> Thanks in advance! >> >> https://www.lrde.epita.fr/~akim/private/bison/bison-3.0.5.tar.gz >> https://www.lrde.epita.fr/~akim/private/bison/bison-3.0.5.tar.xz >> >> SHA256(bison-3.0.5.tar.gz)= >> 10265805a5e65a7f6e491e804128276059c46084e751af4b00c4dd5cd4ced7fe >> SHA256(bison-3.0.5.tar.xz)= >> ded09e136fa3ce38e9dc3dfc2c2bc8cb550d8d8efed46bc6919ea9318bae3ca6 >> >> >> _______________________________________________ >> [email protected] https://lists.gnu.org/mailman/listinfo/help-bison >
