[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parenthesis warnings
From: |
Philip Herron |
Subject: |
Re: parenthesis warnings |
Date: |
Fri, 10 Dec 2010 20:11:40 +0000 |
I havent checked the absolute latest gcc svn for about 2 months but
yeah those are the new gcc 4.6 warnings this looks like a c++ parser
my normal c parsers havent generated any such warnings but i would
like to check also when i get a chance.
--Phil
On 10 December 2010 10:24, Hans Aberg <address@hidden> wrote:
> On 8 Dec 2010, at 15:26, Gergely Feldhoffer wrote:
>
>> ... The recent version of GCC produce warnings like
>>
>> position.hh: In function ‘bool example::operator==(const
>> example::position&, const example::position&)’:
>> position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’
>> [-Wparentheses]
>>
>> which is a bit annoying, since the code runs well. I haven't found
>> switches in the manual to turn on extra parentheses around &&-s.
>
> Take that GCC flag away. On Bison 2.4.3 with no flags, I have no such
> warnings.
>
>
> _______________________________________________
> address@hidden http://lists.gnu.org/mailman/listinfo/help-bison
>
- parenthesis warnings, Gergely Feldhoffer, 2010/12/09
- Re: parenthesis warnings, Hans Aberg, 2010/12/10
- Re: parenthesis warnings,
Philip Herron <=
- Message not available
- Re: parenthesis warnings, Hans Aberg, 2010/12/17
- Re: parenthesis warnings, Evan Lavelle, 2010/12/23
- Re: parenthesis warnings, Akim Demaille, 2010/12/23
- Re: parenthesis warnings, Joel E. Denny, 2010/12/23
- Re: parenthesis warnings, Akim Demaille, 2010/12/24
- Re: parenthesis warnings, Hans Aberg, 2010/12/24