Strange pedantic error message

Jeff Sturm jeff.sturm@commerceone.com
Thu Feb 8 11:50:00 GMT 2001


dewar@gnat.com wrote:
> GNU C has some very useful and very important extensions. If you are
> writing Free Software, which you always intend to be compiled using
> GNU C, then it is not only acceptable, but usually preferable to
> be free to take advantage of these extensions, there is no point in
> obfuscating your code for the purposes of compatibility which is
> not relevant.

Is it not true however that GCC itself is intended to be bootstrapped on non-GNU
compilers?  In that case, GNU extensions in the GCC source code would probably
be a bad idea, and -pedantic could help to avoid these.

--
Jeff Sturm
jeff.sturm@commerceone.com


More information about the Gcc mailing list