This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [PATCH] Fix -W* documentation, update to contrib/check_warning_flags.sh
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Sun, 9 Mar 2008 18:43:12 +0100
- Subject: Re: [PATCH] Fix -W* documentation, update to contrib/check_warning_flags.sh
- Organization: Department of Numerical Simulation, University of Bonn
- References: <20080220211235.GD3640@ins.uni-bonn.de> <20080308132507.GK22739@ins.uni-bonn.de> <alpine.LSU.1.00.0803082208420.22304@acrux.dbai.tuwien.ac.at>
Hello Gerald,
* Gerald Pfeifer wrote on Sat, Mar 08, 2008 at 10:12:40PM CET:
> 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.
Thanks, committed.
> +@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?
Yes, but this formulation is just in line with how
-Wno-format-extra-args and -Wno-format-zero-length are described, too.
Terse, but not illogical, no?
Cheers,
Ralf