[Bug c++/19756] -Wparentheses doesn't warn anymore

oliverst at online dot de gcc-bugzilla@gcc.gnu.org
Wed Feb 2 15:33:00 GMT 2005


------- Additional Comments From oliverst at online dot de  2005-02-02 15:33 -------
from GCC 3.4.3 manual:

Also warn about constructions where there may be confusion to which if statement
an else branch belongs. Here is an example of such a case:

          {
            if (a)
              if (b)
                foo ();
            else
              bar ();
          }
     

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19756



More information about the Gcc-bugs mailing list