Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2006:
[Freeciv-Dev] Re: errors compiling win32 client
Home

[Freeciv-Dev] Re: errors compiling win32 client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv-Dev <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: errors compiling win32 client
From: John Keller <list@xxxxxxxxxxxxxx>
Date: Sun, 12 Feb 2006 02:48:33 +0100

Jason Dorje Short wrote:
> Oh wait...what happens if you add
> 
>   #include "unitlist.h"
> 
> to citydlg.c?


Now I get an error in dialogs.c ("conflicting types for
'caravan_dialog_is_open'"):

if mingw32-gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I. -I./.. -I./../agents
-I../../utility -I./../include -I../../common/aicore -I../../common
-I../../intl  -mno-cygwin  -g -O2 -Wall -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -MT dialogs.o -MD -MP -MF
".deps/dialogs.Tpo" \
  -c -o dialogs.o `test -f 'dialogs.c' || echo './'`dialogs.c; \
then mv ".deps/dialogs.Tpo" ".deps/dialogs.Po"; \
else rm -f ".deps/dialogs.Tpo"; exit 1; \
fi
dialogs.c: In function `update_nation_info':
dialogs.c:284: warning: unused variable `i'
dialogs.c:286: warning: unused variable `nation'
dialogs.c: In function `populate_nation_listview':
dialogs.c:489: warning: assignment discards qualifiers from pointer
target type
dialogs.c: In function `popup_unit_select_dialog':
dialogs.c:772: warning: implicit declaration of function `unit_list_size'
dialogs.c: At top level:
dialogs.c:1074: error: conflicting types for 'caravan_dialog_is_open'
./../include/dialogs_g.h:38: error: previous declaration of
'caravan_dialog_is_open' was here
dialogs.c:1074: error: conflicting types for 'caravan_dialog_is_open'
./../include/dialogs_g.h:38: error: previous declaration of
'caravan_dialog_is_open' was here
dialogs.c: In function `popup_diplomat_dialog':
dialogs.c:1647: warning: implicit declaration of function `unit_list_get'
dialogs.c:1647: warning: assignment makes pointer from integer without a
cast
dialogs.c: At top level:
dialogs.c:1673: warning: no previous prototype for 'diplomat_dialog_is_open'
dialogs.c:106: warning: 'races_class' defined but not used
dialogs.c:107: warning: 'races_legend' defined but not used
dialogs.c:463: warning: 'cmp_func' defined but not used
make[3]: *** [dialogs.o] Error 1

- John



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