diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-22 17:10:34 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-22 17:10:34 +0000 |
commit | 8f7040d4948c5752692f65b56e75b2fc66673d6a (patch) | |
tree | 9601686ec9e3297b4ff1b6e24201f563a1d53524 /gcc/c-format.c | |
parent | de92a601e4bbc1a7fb204eebbea66b6171ece485 (diff) | |
download | gcc-8f7040d4948c5752692f65b56e75b2fc66673d6a.tar.gz |
* c-format.c (check_function_format): Change warning control
option from OPT_Wattribute to OPT_Wmissing_format_attribute.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102286 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-format.c')
-rw-r--r-- | gcc/c-format.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-format.c b/gcc/c-format.c index 587f15e9c6b..7d5af422eb5 100644 --- a/gcc/c-format.c +++ b/gcc/c-format.c @@ -896,8 +896,8 @@ check_function_format (tree attrs, tree params) break; } if (args != 0) - warning (OPT_Wattributes, "function might be possible " - "candidate for %qs format attribute", + warning (OPT_Wmissing_format_attribute, "function might " + "be possible candidate for %qs format attribute", format_types[info.format_type].name); } } |