mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-24 23:26:13 +08:00
c-format.c (check_function_format): Change warning control option from OPT_Wattribute to OPT_Wmissing_format_attribute.
* c-format.c (check_function_format): Change warning control option from OPT_Wattribute to OPT_Wmissing_format_attribute. From-SVN: r102286
This commit is contained in:
parent
94e2b58a28
commit
1a8d0d41ac
@ -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
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user