[GCC 3.0] New -Wall warnings without corresponding option to turn off
Zack Weinberg
zackw@stanford.edu
Thu Jul 5 10:38:00 GMT 2001
On Wed, Jul 04, 2001 at 11:57:03PM +0200, Marc Espie wrote:
> At least two such warnings are a problem:
> /spare/src/sys/arch/i386/isa/npx.c:155:6: multi-line string literals are
> deprecated
> /spare/src/sys/net/if_loop.c:300:8: extra tokens at end of #endif directive
>
> Those are rather common practice, and some fairly important programs do
> use -Wall -Werror.
I'll be happy to take a patch that adds a -W(no-)endif-labels. I am
in the middle of moving house right now, and my connectivity is shaky,
or I would do it myself.
[Would such a patch be acceptable for 3.0.1, Mark?]
I will *not* take a patch that lets you suppress the warning about
multi-line string literals. That misfeature will be removed from the
trunk in the very near future.
--
zw I *will* wrestle it into shape eventually. I *will* clean it out,
*without* resorting to the redirection of a major navigable river.
-- Ray Radlein on lumber rooms
More information about the Gcc-bugs
mailing list