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

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]
To: Massimo Campostrini <campo@xxxxxxxxxxxxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxxx
Subject: Re: [Freeciv-Dev] Re: [Freeciv-Cvs] CVS: dwp: If we're using gcc, use -Wall, to encourag...
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 4 Dec 1998 14:32:47 +0000 (WET)

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




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