[Freeciv-Dev] Re: A rouge client from the trenches
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
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
|
|