I also get those in one of my builds -- will check hmm diff between ast-ksh and ast-open is mamake vs nmake build try this from the ast-open PACKAGEROOT to see if a hunch I have is correct
bin/package use cd libast nmake -n --nativepp=-1 vmbest.o > xx 2>&1 then edit xx to make it executable and run it (doing it this way will only make vmbest.o out of date the next time you run nmake) On Fri, 2 Aug 2013 17:22:45 +0200 Roland Mainz wrote: > Hi! > ---- > I'm getting the following strict aliasing warnings when building > ast-open.2013-07-27 (and only on ast-open... ast-ksh doesn't seem to > be affected) on SuSE 12.3/AMD64/64bit: (gcc version is "gcc (SUSE > Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]") > -- snip -- > + cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"' > '-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"' > -DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin > -fstrict-aliasing -Wstrict-aliasing -Wsequence-point -Wno-parentheses > -Wno-unused -Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I. > -I$BUILDROOT/src/lib/libast/vmalloc -I$BUILDR > OOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std -I- -I. -I. > -I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/comp > -I$BUILDROOT/src/lib/libast/std -I$BUIL > DROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c > $BUILDROOT/src/lib/libast/vmalloc/vmbest.c > cc1: note: obsolete option -I- used, please use -iquote instead > $BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestlistreclaim': > $BUILDROOT/src/lib/libast/vmalloc/vmbest.c:514:3: warning: > dereferencing type-punned pointer will break strict-aliasing rules > [-Wstrict-aliasing] > + cc '-DSHOPT_CMDLIB_BLTIN=0' '-DSH_CMDLIB_DIR="/usr/ast/bin"' > '-DSHOPT_CMDLIB_HDR="$BUILDROOT/tmp_gnulinux_builtin_header.h"' > -DSHOPT_SYSRC '-D_map_libc=1' -g -ggdb -fno-builtin -fstrict-aliasing > -Wstrict-aliasing -Wsequence-point -Wno-parentheses -Wno-unused > -Wno-trigraphs -Wclobbered -Waddress -D_BLD_ast -I. > -I$BUILDROOT/src/lib/libast/vmalloc > -I$BUILDROOT/src/lib/libast/include -I$BUILDROOT/src/lib/libast/std > -I- -I. -I. -I$BUILDROOT/src/lib/libast/include > -I$BUILDROOT/src/lib/libast/comp -I$BUILDROOT/src/lib/libast/std > -I$BUILDROOT/src/lib/libast/vmalloc -D_BLD_DEBUG -D_PACKAGE_ast -c > $BUILDROOT/src/lib/libast/vmalloc/vmclear.c > cc1: note: obsolete option -I- used, please use -iquote instead > $BUILDROOT/src/lib/libast/vmalloc/vmbest.c: In function 'bestresize': > $BUILDROOT/src/lib/libast/vmalloc/vmbest.c:845:4: warning: > dereferencing type-punned pointer will break strict-aliasing rules > [-Wstrict-aliasing] > --snip -- > Erm... any idea why this happens for ast-open only ? > ---- > Bye, > Roland > -- > __ . . __ > (o.\ \/ /.o) [email protected] > \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer > /O /==\ O\ TEL +49 641 3992797 > (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
