Complete.Org: Mailing Lists: Archives: freeciv-dev: December 1998:
Re: [Freeciv-Dev] Re: [Freeciv-Cvs] CVS: dwp: If we're using gcc, use -
Home

Re: [Freeciv-Dev] Re: [Freeciv-Cvs] CVS: dwp: If we're using gcc, use -

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxxxxxxxxx>
Cc: Massimo Campostrini <campo@xxxxxxxxxxxxxxxxxxxxx>, freeciv-dev@xxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Re: [Freeciv-Cvs] CVS: dwp: If we're using gcc, use -Wall, to encourag...
From: Mitch Davis <mjd@xxxxxxxxxxxxxxxx>
Date: Fri, 04 Dec 1998 15:27:09 +0000

Vasco Alexandre Da Silva Costa wrote:
> 
> > Good idea.  I suggest we go even further, e.g.
> > -ansi -pedantic -Wall -Wshadow
> > which catches quite a few errors.
> 
> I think that's a bad idea.  Using -ansi -pedantic breaks lots of code for
> no reason.  As for -Wall  i think that's a most excellent idea.

I've been compiling Freeciv with -Wall -pedantic without problems.
I don't know about -ansi.  And if the code is actually broken
(because it's not ANSI-compliant) then let's fix it.

(But after 1.7.2... :-)

Regards,

Mitch.



[Prev in Thread] Current Thread [Next in Thread]