Strange pedantic error message
Fergus Henderson
fjh@cs.mu.oz.au
Thu Feb 8 04:43:00 GMT 2001
On 08-Feb-2001, dewar@gnat.com <dewar@gnat.com> wrote:
> <<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.
It is usually a good idea to try to make sure that your code will be
portable to compilers other than GCC.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: < http://www.cs.mu.oz.au/~fjh > | -- the last words of T. S. Garp.
More information about the Gcc
mailing list