Re: -Wparentheses is less sensitive in g++

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

 



On Wednesday 19 January 2005 18:38, lrtaylor@xxxxxxxxxx wrote:
> Dunno about the parentheses, but you should have two ampersands in there
> instead of one...
>
>   if (a>0 && b>0)

Yes, that's why I think that g++ should warn about this statement ... :-)

Cheers,

Frank
-- 
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## http://os.inf.tu-dresden.de/~fm3                                     ##

Attachment: pgpydmwF7aBQx.pgp
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux