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++/19756] -Wparentheses doesn't warn anymore


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


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