Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: Economy report (PR#1307)
Home

[Freeciv-Dev] Re: Economy report (PR#1307)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Economy report (PR#1307)
From: Jason Short <vze2zq63@xxxxxxxxxxx>
Date: Fri, 08 Mar 2002 09:19:18 -0500
Reply-to: jdorje@xxxxxxxxxxxx

Ben Webb wrote:
On Fri, 8 Mar 2002, Raimar Falke wrote:


-Wshadow -Werror NOW!! ;)


That'd be nice, except that then Freeciv would fail to build on an Alpha...

Raimar means it for local compilation, i.e.

  make CFLAGS="-Wshadow -Werror"

with whatever other flags you want also included. Of course, I would have imagined there were a lot of other shadowed variables causing things not to compile at all like this, but maybe Raimar's fixed these now.

But, this would not have helped in this case. Whoever compiled the code with these flags would have seen the shadow, fixed it (which I did in passing), and probably not noticed the *real* error.

jason



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