2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 13:02:11 +00:00

Change deprecated /Op option to its replacement, /fp:precise. This quiets a warning from the Intel compiler, which uses the msvc toolset.

[SVN r75690]
This commit is contained in:
Beman Dawes
2011-11-27 12:50:00 +00:00
parent 058e1e749a
commit 9dc8a7a32a

View File

@@ -240,7 +240,7 @@ rule configure-version-specific ( toolset : version : conditions )
# 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 ;