This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/19564] -Wparentheses does not work with the C++ front-end
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2005 14:11:17 -0000
- Subject: [Bug c++/19564] -Wparentheses does not work with the C++ front-end
- References: <20050121134029.19564.fm3@os.inf.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-21 14:11 -------
(In reply to comment #0)
> g++ generates less warnings when using -Wparentheses than gcc. For instance
> gcc warns about
>
> if (a>0 & b>0)
> ...
This because this warning is only in the C front-end.
Please file the "overflow in implicit constant conversion" warning into a different bug.
--
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |diagnostic
Last reconfirmed|0000-00-00 00:00:00 |2005-01-21 14:11:16
date| |
Summary|-Wparentheses and other |-Wparentheses does not work
|warnings: g++ is less |with the C++ front-end
|sensitive than gcc |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19564