Re: [Freeciv-Dev] Re: [Freeciv-Cvs] CVS: dwp: If we're using gcc, use -W
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On 4 Dec 1998, Massimo Campostrini wrote:
> freeciv@xxxxxxxxxxxxxxxxxxxxxxxx writes:
>
> > If we're using gcc, use -Wall, to encourage patches which are -Wall clean.
>
> 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.
---
Vasco Alexandre da Silva Costa, student @ Instituto Superior Tecnico,
Technical University of Lisbon - Software & Computer Engineering
|
|