This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Strange pedantic error message
- To: dewar at gnat dot com
- Subject: Re: Strange pedantic error message
- From: Jeff Sturm <jeff dot sturm at commerceone dot com>
- Date: Thu, 08 Feb 2001 14:50:14 -0500
- CC: fjh at cs dot mu dot oz dot au, gcc at gcc dot gnu dot org, jrmg at dcs dot ed dot ac dot uk
- Organization: Commerce One
- References: <20010208131050.9D59034D84@nile.gnat.com>
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