From 9dc8a7a32a2a893ea569619118d3a83e475e47fd Mon Sep 17 00:00:00 2001 From: Beman Dawes Date: Sun, 27 Nov 2011 12:50:00 +0000 Subject: [PATCH] Change deprecated /Op option to its replacement, /fp:precise. This quiets a warning from the Intel compiler, which uses the msvc toolset. [SVN r75690] --- v2/tools/msvc.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2/tools/msvc.jam b/v2/tools/msvc.jam index e33a66d22..436b0d10d 100644 --- a/v2/tools/msvc.jam +++ b/v2/tools/msvc.jam @@ -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)/off/static/single : /ML ;