
On 2011-04-06 10:55 AM, John Maddock wrote:
I'm attempting to build Boost.Regex v1.46.1 with the following user.hpp settings:
#define BOOST_REGEX_USE_CPP_LOCALE #define BOOST_REGEX_NO_W32
However, this is failing with the following commands (from the root Boost directory) on WinXP using Visual Studio 2010 SP1:
Any ideas? BTW, ICU is properly identified as not being available. Also, all the previous modules are compiled successfully.
It's a VC++ issue, just:
std::use_facet<std::messages<unsigned short> >(std::locale());
will give the error :-(
The attached patch works around this, by removing the unsigned short regex specializations from the library - this will work just fine provided you don't intend to use boost::wregex with the /Zc:wchar_t- compiler option.
Perfect, thx. Regards, -David