Hello Igor,
Thanks for your answer but it was not the solution for the problem.
The _WIN32_WINNT is set to 0x0501. However, if you look into the BOOST code in win_fenced_block.hpp you can see that 'MemoryBarrier' macro is used when BOOST_MSVC is undefined or BOOST_MSVC >= 1400. I am using VS2008 so BOOST_MSVC is defined as 1500. On the other side, the mentioned macro is available only in versions of Windows newer or equal to Vista and no test for OS version is done in that file.
The problem is that BOOST 1.43.0 assumes that if you are compiling with VS2005 your programs will run on Vista. The correct test when using 'MemoryBarrier' macro would be to check if _WIN32_WINNT at least 0x0600 not testing the compiler version.
Best regards, Ovidiu
--- On Thu, 6/17/10, Igor R <boost.lists@gmail.com> wrote:
|