Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2002:
[Freeciv-Dev] Re: A rouge client from the trenches
Home

[Freeciv-Dev] Re: A rouge client from the trenches

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Arnstein Lindgard <arnstein.lindgard@xxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: A rouge client from the trenches
From: Reinier Post <rp@xxxxxxxxxx>
Date: Fri, 19 Jul 2002 19:33:00 +0200

On Thu, Jul 18, 2002 at 10:44:47PM +0200, Arnstein Lindgard wrote:
> I wrote:
> > > I've been hacking my client a bit. My goal is to make it possible to move

This looks like a marvellous feature!

> Strange, I get no errors when compiling with gcc 3.0.3 on my upgraded
> redhat 60. Please excuse my ignorance, but is it a sin in 'C' not to
> declare your stuff at the absolute beginning of the functions?
> 
> If so, I should be able to fix all such occurances. Maybe 303 is giving
> me slack. Otherwise, any hints for a newbie?

Use -Wall, or at least -pedantic.  You can usually feed it to gcc
by puttung it into the CFLAGS variable, e.g.

  make CFLAGS=-Wall ...

gcc is not the only compiler used with Freeciv!

-- 
Reinier


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