This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/19564] -Wparentheses does not work with the C++ front-end


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]