Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-09-22 07:32:57


"John Maddock" <john_at_[hidden]> writes:

>> 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

I don't know much about the context here, but: any check for
BOOST_MSVC without a version number check (using BOOST_WORKAROUND,
please) is probably wrong. Could you double-check this before
applying the patch, John?

Thanks,

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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