This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Strange pedantic error message


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]