Boost logo

Boost Users :

From: acarsac_at_[hidden]
Date: 2001-11-27 12:42:15


Hi,

I am a new user of the boost library (Actually with VC6 SP5 and
stlport 4.0). Everything goes well when I use tokenizer and
regexp in separated programs.

But when I want to use the regex and the tokenizer library
together I can not compile. for example, if I take the
$(BOOST_ROOT)/libs/tokenizer/examples.cpp from John R. Bandela
and just add the include line:

#include <boost/regex.hpp>

the compiler gives me this error:

Compiling...
examples.cpp
c:\program files\microsoft visual studio\vc98
\include\boost\token_functions.hpp(264) : error C2668: 'ispunct' :
ambiguous call to overloaded function
        c:\program files\microsoft visual studio\vc98
\include\boost\token_functions.hpp(257) : while compiling class-
template member function 'bool __thiscall
boost::char_delimiters_separator<char,class _STL::char_traits<char>
>::is_ret(char) const'
Error executing cl.exe.

examples.exe - 1 error(s), 0 warning(s)

any idees ?

     Alexandre


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