[PATCH/RFA] Add -Wformat-zero-length for zero-length format warning
Joseph S. Myers
jsm28@cam.ac.uk
Sat May 18 11:48:00 GMT 2002
On Sat, 18 May 2002, Jason R Thorpe wrote:
> +@opindex Wformat-zero-length
I think indexing the -Wno-format-zero-length option people will actually
use is more useful than indexing -Wformat-zero-length.
> +/* Test for printf formats. Formats using C90 features, including cases
> + where C90 specifies some aspect of the format to be ignored or where
> + the behaviour is undefined.
> +*/
This comment taken from some other testcase isn't an accurate description
of what this testcase (a test of -Wno-format-zero-length, not of checking
of printf format features in general) is about.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-patches
mailing list