Boost logo

Boost Users :

From: Jim.Hyslop (jim.hyslop_at_[hidden])
Date: 2001-10-02 10:06:52


Markus Schöpflin [SMTP:markus.schoepflin_at_[hidden]] wrote:
> I've been trying to build the regex library but failed miserably. The
> compiler always dies with an error in "regex_traits.hpp"
[...]
> It works if I use the STL supplied by Microsoft.

I don't use STLPort, but you might try a slight modification to
boost/config/suffix.hpp.

Search for BOOST_NO_STDC_NAMESPACE, and you'll see the line:

namespace std { using ::ptrdiff_t; using ::size_t; }

Try adding "using ::ctype;" into the list of using declarations. This may
not work, though; I don't know if a using declaration can nominate the name
of a template.

-- 
Jim

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