Boost logo

Boost Users :

Subject: [Boost-users] Erorr compiling application with boost 1.43.0 on WinXp/VS2008
From: Ovidiu MacSiniuc (msovidiu_at_[hidden])
Date: 2010-06-17 06:12:39


Hello everybody,
 
I am developing some application on Visual Studio 2008. I am working on Windows XP (sp3) and our minimim requirement platform for the applcation is also WinXp.
I downloaded and compiled the lasta boost version (1.43.0).
 
 
However, when compiling the application I'm getting this error:
 
C:\Boost\1.43.0\boost/asio/detail/win_fenced_block.hpp(48) : error C3861: 'MemoryBarrier': identifier not found
 
It looks like the MSVC wants to build it as a Vista application since according to
http://msdn.microsoft.com/en-us/library/ms684208%28VS.85%29.aspx
minimum supported client for MemoryBarrier(void) is Windows Vista.
 
What would be the proper fix for this issue?
 
Thanks,
Ovidiu



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