Boost logo

Boost-Build :

Subject: [Boost-build] Patch to clear Intel /Op deprecated warning
From: Beman Dawes (bdawes_at_[hidden])
Date: 2011-11-26 09:03:47


The patch below clears a warning from Intel 12.1, and works fine for
MSVC 8, 9, and 10.

Unless someone objects, I'll apply it tomorrow. I'm posting advance
notice in case any of the math folks want to give it a try beforehand.

--Beman

--- c:\temp\msvc.ja-revBASE.svn001.tmp.jam 2011-11-25 20:50:22.000000000 -0500
+++ c:\boost\trunk\tools\build\v2\tools\msvc.jam 2011-11-25
20:42:27.000000000 -0500
@@ -237,13 +237,13 @@
         toolset.flags $(toolset).compile CFLAGS
$(conditions)/$(.cpu-arch-i386)/<instruction-set>$(.cpu-type-g5) : /G5
;
         toolset.flags $(toolset).compile CFLAGS
$(conditions)/$(.cpu-arch-i386)/<instruction-set>$(.cpu-type-g6) : /G6
;
         toolset.flags $(toolset).compile CFLAGS
$(conditions)/$(.cpu-arch-i386)/<instruction-set>$(.cpu-type-g7) : /G7
;

         # Improve floating-point accuracy. Otherwise, some of C++
Boost's "math"
         # tests will fail.
- toolset.flags $(toolset).compile CFLAGS $(conditions) : /Op ;
+ toolset.flags $(toolset).compile CFLAGS $(conditions) : /fp:precise ;

         # 7.1 and below have single-threaded static RTL.
         toolset.flags $(toolset).compile CFLAGS
$(conditions)/<runtime-debugging>off/<runtime-link>static/<threading>single
: /ML ;
         toolset.flags $(toolset).compile CFLAGS
$(conditions)/<runtime-debugging>on/<runtime-link>static/<threading>single
: /MLd ;
     }
     else


Boost-Build 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