[Top][All Lists]
[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: |
Paul Eggert |
Subject: |
Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3 |
Date: |
Mon, 29 Oct 2012 09:34:13 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 10/29/2012 01:03 AM, Akim Demaille wrote:
> So you are suggesting something different now, right?
Yes.
> Something like "%define initialize_yyllval_and_yylloc" if I
> understand correctly (and translate into something dealt with
> by Bison rather than CPP).
I hadn't been thinking of it as anything requiring a directive
at the Bison level. I was thinking only of a macro that one
defines at the C level, to disable the warnings. I suppose
that it could be mapped into a Bison directive too, though, if
that's convenient.
You can see an example of what I'm talking about by looking at
the coreutils source and seeing the C code that uses
"#ifdef lint" or "defined lint".
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 6.4.3, (continued)
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 6.4.3, Akim Demaille, 2012/10/25
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/26
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/26
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Paul Eggert, 2012/10/26
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Peter Simons, 2012/10/27
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/28
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Paul Eggert, 2012/10/28
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/29
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Paul Eggert, 2012/10/29
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/29
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3,
Paul Eggert <=
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/28
- Re: bison-2.6.4-generated parser triggers pragma warnings in GCC 4.6.3, Akim Demaille, 2012/10/28