[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]
> > 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
|
|