Strange pedantic error message

dewar@gnat.com dewar@gnat.com
Thu Feb 8 04:36:00 GMT 2001


<<On the contrary, compiling with `-pedantic' is usually a good idea,
despite what the gcc documentation says.
>>

That's far too strong. It is a good idea IF you want help in trying to
be sure that your code will be portable to other compilers than GCC, but
if this is not of interest, then there is no reason to use the switch.


More information about the Gcc mailing list