Add Warning attribute to format-contains-nul
Nick Clifton
nickc@redhat.com
Mon Apr 23 11:20:00 GMT 2007
Hi Guys,
I am applying the patch below under the obvious patches rule. It
adds the Warning attribute to the description of the
-Wformat-contains-nul option in the c.opt file.
Cheers
Nick
gcc/ChangeLog
2007-04-23 Nick Clifton <nickc@redhat.com>
* c.opt (Wformat-contains-nul): Add warning attribute.
Index: c.opt
===================================================================
--- c.opt (revision 124059)
+++ c.opt (working copy)
@@ -217,7 +217,7 @@ C ObjC C++ ObjC++ Var(warn_format_nonlit
Warn about format strings that are not literals
Wformat-contains-nul
-C ObjC C++ ObjC++ Var(warn_format_contains_nul)
+C ObjC C++ ObjC++ Var(warn_format_contains_nul) Warning
Warn about format strings that contain NUL bytes
Wformat-security
More information about the Gcc-patches
mailing list