Re: Possible to declare move constructor of basic_symbol as noexcept?

2021-01-19 Thread Christian Schoenebeck
On Dienstag, 19. Januar 2021 06:54:48 CET Akim Demaille wrote: > Adrian, > > See below for my stab at this issue. Unfortunately it seems to hit > > a problem in GCC10, as the CI features several failures as follows: > > In file included from ../examples/c++/calc++/driver.hh:24, > > > >

Re: ‘void free(void*)’ called on unallocated object ‘yyssa’ [-Wfree-nonheap-object]

2021-01-19 Thread Christoph Grüninger
Just for reference, I opened GCC Bug 98753, cf. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98753 Bye Christoph

Re: ‘void free(void*)’ called on unallocated object ‘yyssa’ [-Wfree-nonheap-object]

2021-01-19 Thread Paul Eggert
On 1/18/21 9:40 PM, Akim Demaille wrote: This is probably the kind of annoying warnings that Paul knows how to defeat. I would use pragmas, but maybe there is something more clever to do? Thanks in advance Paul! Unfortunately I don't know of anything clever. I haven't had a chance to use GCC

Re: ‘void free(void*)’ called on unallocated object ‘yyssa’ [-Wfree-nonheap-object]

2021-01-19 Thread Akim Demaille
Hi Christoph, > Le 19 janv. 2021 à 08:27, Christoph Grüninger a écrit : >> 3. I removed the lines 1717 and 1745 as the label yyerrlab1 must be defined. >> Could you please clarify what you are doing here, and why? > > The lines contained an #if 0 / #endif that hid the label "yyerrlab1:" from >