bug-bison
[Top][All Lists]
Advanced

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

Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3


From: Akim Demaille
Subject: Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3
Date: Mon, 29 Oct 2012 09:03:36 +0100

Le 29 oct. 2012 à 08:11, Paul Eggert a écrit :

> The option that's taken in typical GNU code, when this
> problem occurs, is to have an optional macro that, when
> defined, causes initializations to be added that suffice
> to pacify GCC.  Normally the macro is not defined, but
> people who want to compile cleanly can define it.
> 
> In other gnu packages this macro is typically named 'lint'.
> We may have to pick a name beginning with YY for namespace
> cleanliness.

So you are suggesting something different now, right?
Something like "%define initialize_yyllval_and_yylloc" if I
understand correctly (and translate into something dealt with
by Bison rather than CPP).




reply via email to

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