On Sun, 2009-10-04 at 10:25 +1300, Bernard Mentink wrote: > > Maybe my thanks was a tad quick. When I tried to compile it I get this > error: > > > -------------------------------------------------------------------------------------------------------------------- > libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include > -Wall -Werror -D_GNU_SOURCE -g -O2 -MT sap.lo -MD -MP > -MF .deps/sap.Tpo -c sap.c -fPIC -DPIC -o .libs/sap.o > cc1: warnings being treated as errors > sap.c: In function ‘SAPServer’: > sap.c:226: error: dereferencing pointer ‘sockAddr4’ does break > strict-aliasing rules > sap.c:227: error: dereferencing pointer ‘sockAddr4’ does break > strict-aliasing rules > sap.c:198: note: initialized from here > sap.c:236: error: dereferencing pointer ‘sockAddr6’ does break > strict-aliasing rules > sap.c:237: error: dereferencing pointer ‘sockAddr6’ does break > strict-aliasing rules > sap.c:238: error: dereferencing pointer ‘sockAddr6’ does break > strict-aliasing rules > sap.c:242: error: dereferencing pointer ‘sockAddr6’ does break > strict-aliasing rules > sap.c:234: note: initialized from here > make[2]: *** [sap.lo] Error 1 > --------------------------------------------------------------------------------------------------------------------- Odd, what version of gcc are you using? I've just checked and the release compiles with 3.4 and 4.3.
Cheers Adam ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
