-Wparentheses lumps too much together

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Fri Dec 21 09:27:00 GMT 2007


 <jklowden <at> freetds.org> writes:
> 
> Yes, I know beginners get confused by and/or precedence.  But
> *every* language that I know of that has operator precedence places
> 'and' before 'or'.

FWIW, Bourne shell doesn't, && and || have equal precedence there.
That's a bit off-topic though, as it's not an argument against your
actual proposition, but rather one for `sh -Wall'.  ;-)

Cheers,
Ralf



More information about the Gcc mailing list