[PATCH/RFA] Add -Wformat-zero-length for zero-length format warning

Joseph S. Myers jsm28@cam.ac.uk
Sat May 18 12:05:00 GMT 2002


On Sat, 18 May 2002, Jason R Thorpe wrote:

>  > I think indexing the -Wno-format-zero-length option people will actually 
>  > use is more useful than indexing -Wformat-zero-length.
> 
> Oops, I had simply missed this.  Fixed.

> Hm, okay ... makes sense.  I've changed it to:
> 
> /* Test the -Wno-format-zero-length option, which suppresses warnings
>    about zero-length formats.  */

OK with those changes.

-- 
Joseph S. Myers
jsm28@cam.ac.uk



More information about the Gcc-patches mailing list