projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
654d7a3
)
* decl2.c (lang_decode_option): Handle -Wformat=2.
author
Joseph Myers
<jsm28@cam.ac.uk>
Tue, 9 Jan 2001 10:37:02 +0000
(10:37 +0000)
committer
Joseph Myers
<jsm28@gcc.gnu.org>
Tue, 9 Jan 2001 10:37:02 +0000
(10:37 +0000)
From-SVN: r38825
gcc/cp/ChangeLog
patch
|
blob
|
history
gcc/cp/decl2.c
patch
|
blob
|
history
diff --git
a/gcc/cp/ChangeLog
b/gcc/cp/ChangeLog
index 088a2798edb7f9d3b8e0cff4b2d9f87d49f9db10..4c84be0b506b46fe295e8cfc73bcf035d07360eb 100644
(file)
--- a/
gcc/cp/ChangeLog
+++ b/
gcc/cp/ChangeLog
@@
-1,3
+1,7
@@
+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
diff --git
a/gcc/cp/decl2.c
b/gcc/cp/decl2.c
index a8269c28f0f5b879e8cac2a56c4988947343c009..e07a7498e980928aabf3eef76e3345c9c423124d 100644
(file)
--- a/
gcc/cp/decl2.c
+++ b/
gcc/cp/decl2.c
@@
-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"))