
I'm attempting to compile against the boost_regex headers on Solaris 2.8, using gcc and STLport. I'm encountering the following compile error:
/boost/boost/regex/v4/regex_traits.hpp: In static member function `static boost::regex_wchar_type boost::c_regex_traitsboost::regex_wchar_type::translate(boost::regex_wchar_type, bool)': /export/build/pixie/aegis-build/dev/liberty/common/cpp/utils/boost/boost/regex/v4/regex_traits.hpp:290: error: `towlower' is not a member of `_STL'
Any ideas? This appears to be specific to Solaris, as the code base compiles alright on Linux.
Well either: the platform has no std::towlower, but I don't actually think that is the case, or else STLport isn't importing that symbol into it's own namespace (as it should). If you don't need wide character support then try defining BOOST_NO_WREGEX in boost/regex/user.hpp. Otherwise try adding defining BOOST_NO_STDC_NAMESPACE in the same place. Hope this helps, John.