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:
hq43ge$8n4$1_at_dough.gmane.org...
> 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
2010.

Best regards
Armel


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