Commit 3ff0c9ed by Andrew Pinski Committed by Andrew Pinski

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
parent 519b0e16
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment