Boost logo

Boost Users :

Subject: Re: [Boost-users] WIN64 vs _WIN64
From: Václav Zeman (vhaisman_at_[hidden])
Date: 2012-02-28 05:52:32


On 28 February 2012 11:40, Roberto Fichera <kernel_at_[hidden]> wrote:

> On 02/27/2012 03:24 PM, Roberto Fichera wrote:
>
> Hi All,
>
> I got a compilation error while compiling a library under Win64 arch that
> includes the
> boost/numeric/interval/msvc_rounding_control.hpp
>
> c:\boost_1.48\include\boost/numeric/interval/detail/msvc_rounding_control.hpp(33)
> : error C4235: nonstandard extension used : '_asm' keyword not supported on
> this architecture
> c:\boost_1.48\include\boost/numeric/interval/detail/msvc_rounding_control.hpp(33)
> : error C2065: 'FLD' : undeclared identifier
> c:\boost_1.48\include\boost/numeric/interval/detail/msvc_rounding_control.hpp(34)
> : error C4235: nonstandard extension used : '_asm' keyword not supported on
> this architecture
>
> So I checked the code under
> boost/numeric/interval/detail/msvc_rounding_control.hpp and it seems
> that it does a preprocessor check against WIN64 instead of _WIN64
>
>
> I would say that I just found this ticket
> https://svn.boost.org/trac/boost/ticket/5519
> that reports the same problem.
>
The patch is IMHO obviously correct. It should be applied.

-- 
VZ


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net