On Wed, Oct 26, 2011 at 4:50 PM, Matthias Pfafferodt
<matthias.pfaffer...@mapfa.de> wrote:
> Am Mittwoch, 26. Oktober 2011, 01:26:49 schrieb Jason Dorje Short:

>> In file included from /usr/include/gtk-2.0/gtk/gtk.h:236:0,
>>                  from colors.h:16,
>>                  from chatline.c:44:
>> /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: error: function
>> declaration isn't a prototype [-Werror=strict-prototypes]
>> cc1: all warnings being treated as errors
>
> This is a known bug which will not be fixed due to compatibility reasons (see
> the documentation in ./doc/HACKING). I think the check is important but it
> prevents building the gtk2 client. On my computer I did change the gtk2 header
> file to use his debug option but I know this is not always possible ...

Yes, it says as much in the header.  IMO it is essential that the code
compile with --enable-debug=checks; the only solutions therefore are
to remove this one check (which seems fine to me) or to make the
checks work differently per-directory.  The latter would probably be
pretty easy actually with a bit of Makefile.am magic and some small
changes to debug.m4 - that is, allowing the Makefile.am to set a
DEBUG_CFLAGS variable that overrides the default.

-jason

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to