Opened 19 years ago

Closed 19 years ago

#226 closed Support Requests (Fixed)

problem compiling regex with vc6-stlport

Reported by: kidkat Owned by: John Maddock
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

I got a problem, when compilg the regex with VC6++ and
STLPort.
I did followoing to run the compile:

set MSVCDIR=<msvc path>
set STLPORT_PATH=<stlport path>

nmake XLFLAGS="/LIBPATH:<stlport lib path>"
-fvc6-stlport.mak

And I get an error on the file

../src/cpp_regex_traits.cpp(662) : error C2660:
'isspace' : Funktion akzeptiert keine 2 Parameter
(function does not accept 2 parameters)

Did I configure something wrong?

Change History (1)

comment:1 by John Maddock, 19 years ago

Status: assignedclosed
Logged In: YES 
user_id=14804

There was a problem with the last release not working with 
STLPort-4.5.3,
you can either apply the following path, or get the latest cvs 
code:

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;

John.

Note: See TracTickets for help on using tickets.