Boost logo

Boost-Build :

Subject: Re: [Boost-build] building boost with VS 2010
From: Armel Asselin (armelasselin_at_[hidden])
Date: 2010-04-18 14:25:18

"Armel Asselin" <armelasselin_at_[hidden]> a écrit dans le message de news:
> 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?
I could find that the problem is linked to the BOOST_REGEX_NO_W32 flag, as
well impossible to have regular expressions for 32 bit chars on Windows with

Best regards

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