Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5519: Error C4235 in msvc_rounding_control.hpp (numeric.interval_lib.detail)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-30 10:11:13
#5519: Error C4235 in msvc_rounding_control.hpp (numeric.interval_lib.detail)
-------------------------------+--------------------------------------------
Reporter: hajokirchhoff | Owner: jhunold
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interval
Version: Boost 1.46.1 | Severity: Problem
Resolution: | Keywords: rint numeric interval
-------------------------------+--------------------------------------------
Comment (by Laurent.Rineau__CGAL@â¦):
The bug was created by the following revision in trunk, last year:
{{{
------------------------------------------------------------------------
r60227 | jhunold | 2010-03-06 15:17:49 +0100 (Sat, 06 Mar 2010) | 1 line
Disable x86 assembler for x64 builds.
------------------------------------------------------------------------
Index: msvc_rounding_control.hpp
===================================================================
--- msvc_rounding_control.hpp (revision 60226)
+++ msvc_rounding_control.hpp (revision 60227)
@@ -25,7 +25,7 @@
namespace interval_lib {
namespace detail {
-#if BOOST_MSVC < 1400
+#if BOOST_MSVC < 1400 || defined(WIN64)
extern "C" { double rint(double); }
#else
inline double rint(double x)
}}}
WIN64 is not defined, only _WIN64 is.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5519#comment:3> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC