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
+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
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);
}
}