Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] Re: (PR#3798) Change canvas_to_map_pos() from void to bool
Home

[Freeciv-Dev] Re: (PR#3798) Change canvas_to_map_pos() from void to bool

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: a-l@xxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3798) Change canvas_to_map_pos() from void to bool
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 3 Apr 2003 07:35:19 -0800
Reply-to: rt@xxxxxxxxxxxxxx

> > For testing, you should compile with debugging enabled (--enable-debug).
> > This enables CHECK_MAP_POS, which will catch some mistakes (real and
> > imagined).
> 
> This always gives me "treating warnings as errors" and refusing to
> compile because of control reaching end of some non-void function or
> another. Is that a problem with my compiler flags setup?

why you're getting warnings I don't know, I've compiled with debug quite
recently and haven't had problems (must be your patches).

the issue is that Raimar added -Werror to the CFLAGS. just remove it. I'm
not sure that I agree with that being the default.

-mike



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