Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2004-09-11 06:55:57


> 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_traits<boost::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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net