Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: solaris warning
Home

[Freeciv-Dev] Re: solaris warning

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <per@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: solaris warning
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 29 May 2003 17:58:20 +0000 (GMT)

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



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