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: Fergus Henderson <fjh at cs dot mu dot oz dot au>
- Date: Thu, 8 Feb 2001 23:43:05 +1100
- Cc: jrmg at dcs dot ed dot ac dot uk, gcc at gcc dot gnu dot org
- References: <20010208123608.BFC5434D80@nile.gnat.com>
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.