Follow-up Comment #14, patch #1280 (project freeciv):

after changing from '*packet' to 'packet' I get:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../utility -I..
-I../../common -DLOCALEDIR=\"/usr/local/share/locale\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/2.3:/usr/local/share/freeciv\""
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Werror -g -O2 -MT aisupport.lo -MD -MP -MF
.deps/aisupport.Tpo -c aisupport.c -o aisupport.o
In file included from ../game.h:27,
                 from aisupport.c:25:
../player.h:350: error: field ‘packet’ has incomplete type
make[4]: *** [aisupport.lo] Error 1

adding '#include "packets.h"' result in

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I../../utility -I..
-I../../common -DLOCALEDIR=\"/usr/local/share/locale\"
"-DDEFAULT_DATA_PATH=\".:data:~/.freeciv/2.3:/usr/local/share/freeciv\""
-Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
-Wmissing-declarations -Werror -g -O2 -MT aisupport.lo -MD -MP -MF
.deps/aisupport.Tpo -c aisupport.c -o aisupport.o
In file included from ../map.h:21,
                 from ../packets.h:24,
                 from ../player.h:21,
                 from ../game.h:27,
                 from aisupport.c:25:
../tile.h:40: error: expected specifier-qualifier-list before
‘bv_player’
In file included from ../packets.h:75,
                 from ../player.h:21,
                 from ../game.h:27,
                 from aisupport.c:25:
../packets_gen.h:413: error: array type has incomplete element type
../packets_gen.h:1335: error: expected specifier-qualifier-list before
‘bv_player’
make[4]: *** [aisupport.lo] Error 1

and there I stopped trying ...

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1280>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to