[Freeciv-Dev] solaris warning
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -g -O2 -Werror -Wall
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-c `test -f 'netintf.c' || echo './'`netintf.c
cc1: warnings being treated as errors
netintf.c: In function `net_lookup_service':
netintf.c:175: warning: cast increases required alignment of target type
Lines in question:
struct sockaddr_in *sock = NULL;
...
sock = (struct sockaddr_in *) sa;
Any ideas?
- Per
- [Freeciv-Dev] solaris warning,
Per I. Mathisen <=
|
|