server.c need -fno-strict-aliasing
Status: Beta
Brought to you by:
charrea6
hi,
with gcc version 4.4.3:
gcc -DHAVE_CONFIG_H -I. -I.. -I../include -Wall -Werror -D_GNU_SOURCE -g -O2 -MT server.o -MD -MP -MF .deps/server.Tpo -c -o server.o server.c
cc1: warnings being treated as errors
server.c: In function 'MediaServerThread':
server.c:265: error: dereferencing pointer 'connAddr.41' does break strict-aliasing rules
server.c:265: note: initialized from here
server.c:270: error: dereferencing pointer 'connAddr.41' does break strict-aliasing rules
server.c:270: note: initialized from here
with -fno-strict-aliasing compile ok.
bye
Committed in rev 790.
Thanks :-)