Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#7121) casting sockaddr and sockaddr_in
Home

[Freeciv-Dev] (PR#7121) casting sockaddr and sockaddr_in

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#7121) casting sockaddr and sockaddr_in
From: "Brett Albertson" <brett.albertson@xxxxxxxxxxxx>
Date: Mon, 12 Jan 2004 06:30:48 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7121 >

> > 
> > The union approach is the most clean one. We should do it.
> 
> Here is the patch for the union approach. Please test.
> 
>       Raimar
> 
>

I now get the following error:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I./aicore    -g -O2
-Werror -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -MT connection.o -MD -MP -MF
".deps/connection.Tpo" -c -o connection.o connection.c; \
then mv -f ".deps/connection.Tpo" ".deps/connection.Po"; else rm -f
".deps/connection.Tpo"; exit 1; fi
In file included from connection.c:40:
netintf.h:47: error: field `sockaddr' has incomplete type
make[3]: *** [connection.o] Error 1
make[3]: Leaving directory `/var/tmp/freeciv/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/freeciv/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/freeciv'
make: *** [all] Error 2
 
-- 
Brett Albertson
brett.albertson@xxxxxxxxxxxx


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