gcc "bug"

Joseph S. Myers jsm@polyomino.org.uk
Tue Feb 17 00:49:00 GMT 2004


On Mon, 16 Feb 2004, Falk Hueffner wrote:

> You need -Wimplicit (or -Wall) to get a warning. This is by design,
> since many old sources use implicit declarations. For new source, you
> should always use -Wall.

Note that these warnings are on by default (and can't be turned off with
-Wno-implicit - mandatory pedwarns) in C99 mode as implicit declarations
are not part of the C99 language at all, so if and when C99 is fully
implemented and -std=gnu99 becomes the default, these warnings will also
be on by default.

-- 
Joseph S. Myers
jsm@polyomino.org.uk



More information about the Gcc-bugs mailing list