bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: c++: avoid GCC 8 warnings


From: Akim Demaille
Subject: Re: FYI: c++: avoid GCC 8 warnings
Date: Thu, 16 Aug 2018 06:56:29 +0200


> Le 15 août 2018 à 23:26, Hans Åberg <address@hidden> a écrit :
> 
> 
>> On 15 Aug 2018, at 19:38, Akim Demaille <address@hidden> wrote:
>> 
>>  The problem is with locations that don't have a constructor, such as
>>  Span (in calc.cc) which is POD.  
> 
> What is this file. I haven’t seen the issue with GCC8, but perhaps the 
> warning is not on.

I’m in the test suite, calc.at.


>> It is POD on purpose: so that we can
>>  use that structure to test glr.cc which cannot use non POD in its
>>  (C) stacks.
> 
> Can’t you use std::deque?

Nope.  glr.cc is a C++ wrapper around glr.c.  Writing a native C++
glr.cc is a long and difficult task.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]