re PR c++/15145 (Implementing -Wsequence-point for C++ would be very useful)

2004-06-27  Andrew Pinski  <pinskia@physics.uc.edu>

        PR c++/15145
        * c.opt (Wsequence-point): Enable for C++ and ObjC++.

From-SVN: r83758
This commit is contained in:
Andrew Pinski 2004-06-28 01:58:24 +00:00 committed by Andrew Pinski
parent 519b0e16cd
commit 3ff0c9ed19
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2004-06-27 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/15145
* c.opt (Wsequence-point): Enable for C++ and ObjC++.
PR c/14963
* c-decl.c (start_decl): Check for null types.

View File

@ -371,7 +371,7 @@ ObjC ObjC++ Var(warn_selector)
Warn if a selector has multiple methods
Wsequence-point
C ObjC Var(warn_sequence_point)
C ObjC C++ ObjC++ Var(warn_sequence_point)
Warn about possible violations of sequence point rules
Wsign-compare