-Wparentheses is less sensitive in g++
Frank Mehnert
fm3@os.inf.tu-dresden.de
Wed Jan 19 17:36:00 GMT 2005
Hi,
is there any reason for g++ to be less sensitive when using the
-Wparentheses option than gcc? For example gcc warns about the
following line
if (a>0 & b>0)
...
but g++ does not. Why?
I've checked this with g++2.95, g++-3.2, g++-3.3 and g++-3.4.
Frank
--
## Dept. of Computer Science, Dresden University of Technology, Germany ##
## http://os.inf.tu-dresden.de/~fm3 ##
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050119/6994cbd9/attachment.sig>
More information about the Gcc-help
mailing list