On Sat, Aug 25, 2012 at 5:01 AM, Roland Mainz <roland.ma...@nrubsig.org> wrote: > Attached (as "astopen_20120824_gcc464_warnings_strict_overflow001.txt") > are the -Wstrict-overflow=2 warnings from gcc4.6.4 which I got when I > compiled ast-open.2012-08-24 on SuSE Linux 12.1 (e.g. $ (CC='gcc -O3 > -Wstrict-overflow=2' nice ksh ./bin/package make) 2>&1 | tee > buildlog.log #). > > It might be nice if David and Glenn have a look at the warnings and > check if there are any real issues behind these warnings because the > gcc compiler may convert some of the expressions used in the > |if()|\|while()|/etc. statements into constants... which may lead to > unexpected behaviour as soon as the optimiser is turned on.
BTW: See http://translate.google.com/translate?sl=auto&tl=en&js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&u=http%3A%2F%2Fwww.heise.de%2Fdeveloper%2Fartikel%2FC11-Neue-Version-der-Programmiersprache-Teil-1-1661014.html%3Fartikelseite%3D4&act=url (sorry... I didn't find a English version) about why this may be neccesary to get rid of such warnings for C1X (ISO C, version 2011) support... ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.ma...@nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list ast-developers@research.att.com https://mailman.research.att.com/mailman/listinfo/ast-developers