Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2003-09-22 05:55:46


> Has anyone else using STLport v4.5.3 and regex 3.31 (boost dist 1.30.2)
> gotten the library to compile under MSVC6? At this point I may try
> compiling the dlls by hand through the IDE, but it seems like there ought
> to be a way to get nmake working...

OK here's a patch that is tested and works:

Index: cpp_regex_traits.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/regex/src/cpp_regex_traits.cpp,v
retrieving revision 1.30.4.1
diff -r1.30.4.1 cpp_regex_traits.cpp
257c257
< #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)

---
> #if (defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)) &&
!defined(BOOST_MSVC)
258a259
>    using stlport::isspace;
I'll commit the changes to the last release branch as well, in case we do
another release patch
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