From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4206 invoked by alias); 9 Mar 2008 17:43:58 -0000 Received: (qmail 4192 invoked by uid 22791); 9 Mar 2008 17:43:58 -0000 X-Spam-Check-By: sourceware.org Received: from merkur.ins.uni-bonn.de (HELO merkur.ins.uni-bonn.de) (131.220.223.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 09 Mar 2008 17:43:21 +0000 Received: from localhost.localdomain (xdsl-87-79-134-115.netcologne.de [87.79.134.115]) by merkur.ins.uni-bonn.de (Postfix) with ESMTP id 99CD9400002A3; Sun, 9 Mar 2008 18:43:16 +0100 (CET) Received: from ralf by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1JYPYG-0002vu-64; Sun, 09 Mar 2008 18:43:12 +0100 Date: Sun, 09 Mar 2008 17:43:00 -0000 From: Ralf Wildenhues To: Gerald Pfeifer Cc: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org Subject: Re: [PATCH] Fix -W* documentation, update to contrib/check_warning_flags.sh Message-ID: <20080309174311.GT6280@ins.uni-bonn.de> Mail-Followup-To: Ralf Wildenhues , Gerald Pfeifer , gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org References: <20080220211235.GD3640@ins.uni-bonn.de> <20080308132507.GK22739@ins.uni-bonn.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00588.txt.bz2 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 > > 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