This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.0 Branch: Guidelines
- To: Colm Smyth <Colm dot Smyth at Sun dot COM>
- Subject: Re: GCC 3.0 Branch: Guidelines
- From: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Date: Tue, 13 Mar 2001 19:52:27 +0000
- Cc: gcc at gcc dot gnu dot org, mark at codesourcery dot com
- References: <200103131725.RAA04533@ireserver.Ireland.Sun.COM>
Colm Smyth wrote:-
> My second category of issues basically applies to all of the gcc extensions
> that aren't in ISO C (and to a lesser extent, some features that have
> come into ISO C, but perhaps not in the same way as they are implemented
> in gcc). Using the -pedantic switch will turn on a lot of warnings (some
> of which are actually fatal to compiles), but not all of these warnings
> are specific to standards-compliance.
Incidentally, if -pedantic fails to warn about a GCC extension, that is a
bug. I think I'm also correct in saying that it has no business making
those warnings into errors (unless you used -pedantic-errors), so that
would also be a bug.
Examples would be of use in fixing them; we do try to get this stuff right.
Neil.