Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] (PR#2351) gtk2 compile problems
Home

[Freeciv-Dev] (PR#2351) gtk2 compile problems

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2351) gtk2 compile problems
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Fri, 15 Nov 2002 14:45:42 -0800
Reply-to: rt@xxxxxxxxxxxxxx

I get the following warnings+errors when compiling the GTK-2.0 client. 
I don't get them with gui-gtk.

In file included from citydlg.c:63:
../../common/speclist.h:96: warning: `struct city_dialog' declared 
inside parameter list
../../common/speclist.h:96: warning: its scope is only this definition 
or declaration, which is probably not what you want
../../common/speclist.h:97: warning: `struct city_dialog' declared 
inside parameter list
In file included from citydlg.c:68:
../../common/speclist_c.h:54: conflicting types for `dialog_list_insert'
../../common/speclist.h:96: previous declaration of `dialog_list_insert'
../../common/speclist_c.h:59: conflicting types for `dialog_list_unlink'
../../common/speclist.h:97: previous declaration of `dialog_list_unlink'

Looks like a missing #include somewhere.

jason




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