This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH/RFA] Add -Wformat-zero-length for zero-length format warning
On Sat, May 18, 2002 at 09:04:06AM +0100, Neil Booth wrote:
> > To alleviate my suffering, I've added a -Wformat-zero-length option which
>
> I think we really should all exercise extreme self-restraint and stop
> adding ever more switches to GCC 8-). If this warning is causing problems
> and fairly useless, like this one seems, then IMO we should just remove
> the warning, not have yet another flag to turn it off.
That would be fine with me, too ... (though, I do think the warning should
be kept for non-printf/non-scanf formats).
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>