Commit 28ec8d6b by Joseph Myers Committed by Joseph Myers

* decl2.c (lang_decode_option): Handle -Wformat=2.

From-SVN: r38825
parent 654d7a33
2001-01-09 Joseph S. Myers <jsm28@cam.ac.uk>
* decl2.c (lang_decode_option): Handle -Wformat=2.
2001-01-08 Nathan Sidwell <nathan@codesourcery.com>
* cp-tree.h (lang_decl_flags): Rename defined_in_class to
......
......@@ -733,6 +733,8 @@ lang_decode_option (argc, argv)
warn_float_equal = setting;
else if (!strcmp (p, "format"))
set_Wformat (setting);
else if (!strcmp (p, "format=2"))
set_Wformat (2);
else if (!strcmp (p, "format-y2k"))
warn_format_y2k = setting;
else if (!strcmp (p, "format-extra-args"))
......
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