Boost logo

Boost-Build :

Subject: [Boost-build] building boost with VS 2010
From: Armel Asselin (armelasselin_at_[hidden])
Date: 2010-04-14 05:56:31

Dear all,

when i try to build regex (with nmake -f vc9.mak), the versions of the regex
lib with /MD or /MDd won't build.

the error is the following:

VC\INCLUDE\map(38): Error C2491: 'std::messages<_Elem>::id' : definition of
dllimport static data member not allowed with [ _Elem=unsigned short]
VC\INCLUDE\map(38): Warning C4273: 'id' : inconsistent dll linkage
VC\INCLUDE\locale(48): see previous definition of 'public: static
std::locale::id std::collate<unsigned short>::id'

any idea?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at