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]
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.
|
|