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


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.

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