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: "Raimar Falke" <rf13@xxxxxxxxxxxxxxxxx>
Date: Thu, 3 Apr 2003 10:19:06 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Thu, Apr 03, 2003 at 07:35:19AM -0800, Mike Kaufman wrote:
> > > 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.

-Werror is only added if you said --enable-debug=yes.

Arnstein: What warnings do you get?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "If at first you don't succeed... well so much for skydiving."




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