This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix -W* documentation, update to contrib/check_warning_flags.sh
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sat, 8 Mar 2008 22:12:40 +0100 (CET)
- Subject: Re: [PATCH] Fix -W* documentation, update to contrib/check_warning_flags.sh
- References: <20080220211235.GD3640@ins.uni-bonn.de> <20080308132507.GK22739@ins.uni-bonn.de>
On Sat, 8 Mar 2008, Ralf Wildenhues wrote:
> PING^2 <http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00882.html>
> OK for trunk also for the non-Fortran bits?
Yep. The one to c.opt looks obvious, and the rest is just docs.
+@item -Wno-format-contains-nul
+@opindex Wno-format-contains-nul
+@opindex Wformat-contains-nul
+If @option{-Wformat} is specified, do not warn about format strings that
+contain NUL bytes.
I guess if someone really wanted to, she could use -Wformat-contains-nul
alone (without -Wformat) as well, right?
Gerald