Boost logo

Boost Users :

From: Andrey Sverdlichenko (blaze_at_[hidden])
Date: 2003-03-28 10:12:43


boost::regex do not compile with STLPort-4.5.3 on FreeBSD
4.7-RELEASE-p3, gcc 2.95.4.

This is a patch that fixed a problem. Is it just a typo in source?

==== //boost/libs/regex/src/cpp_regex_traits.cpp#1 -
//boost/libs/regex/src/cpp_regex_traits.cpp ====
@@ -201,7 +201,7 @@
 
    const std::messages<char>* pm = 0;
 #ifndef __IBMCPP__
- std::messages<char>::catalog cat =
static_cast<std::messages<wchar_t>::catalog>(-1);
+ std::messages<char>::catalog cat =
static_cast<std::messages<char>::catalog>(-1);
 #else
    std::messages<char>::catalog cat =
reinterpret_cast<std::messages<wchar_t>::catalog>(-1);
 #endif


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