Subject: [Boost-build] building boost with VS 2010
From: Armel Asselin (armelasselin_at_[hidden])
Date: 2010-04-14 05:56:31
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'
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk