diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/c-format.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e93626f..75ca975 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-22 DJ Delorie <dj@redhat.com> + + * c-format.c (check_function_format): Change warning control + option from OPT_Wattribute to OPT_Wmissing_format_attribute. + 2005-07-22 Diego Novillo <dnovillo@redhat.com> * tree-ssa-alias.c (count_ptr_derefs): Do not consider diff --git a/gcc/c-format.c b/gcc/c-format.c index 587f15e..7d5af42 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); } } |
