[Freeciv-Dev] Re: solaris warning
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
More:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -Werror -Wall
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-c `test -f 'packets.c' || echo './'`packets.c
cc1: warnings being treated as errors
packets.c: In function `receive_packet_tile_info':
packets.c:1161: warning: cast increases required alignment of target type
make[3]: *** [packets.o] Error 1
Line in question:
dio_get_uint16(&din, (int *)&packet->continent);
- Per
|
|