Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49889 - trunk/tools/jam/src
From: grafikrobot_at_[hidden]
Date: 2008-11-23 00:15:51


Author: grafik
Date: 2008-11-23 00:15:51 EST (Sun, 23 Nov 2008)
New Revision: 49889
URL: http://svn.boost.org/trac/boost/changeset/49889

Log:
Add -Wc,-fno-strict-aliasing for QCC/QNX to avoid the same aliasing crashes as in the general GCC 4.x series (thanks to Niklas Angare for the fix). (fixes #2459)
Text files modified:
   trunk/tools/jam/src/build.jam | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/tools/jam/src/build.jam
==============================================================================
--- trunk/tools/jam/src/build.jam (original)
+++ trunk/tools/jam/src/build.jam 2008-11-23 00:15:51 EST (Sun, 23 Nov 2008)
@@ -261,7 +261,7 @@
     : kernel32.lib advapi32.lib user32.lib $(--python-lib[1]) ;
 ## QNX 6.x GCC 3.x/2.95.3
 toolset qcc qcc : "-o " : -D
- : -Wc,-pedantic
+ : -Wc,-pedantic -Wc,-fno-strict-aliasing
     [ opt --release : [ opt --symbols : -g ] -O3 -Wc,-finline-functions ]
     [ opt --debug : -g -O0 -Wc,-fno-inline ]
     -I$(--python-include) -I$(--extra-include)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk