Boost logo

Boost Users :

From: Corey M. Ellis (corey.m.ellis_at_[hidden])
Date: 2004-09-19 04:51:01


John Maddock wrote:

>> I am trying to use the regex library (regex_match in particular)
>> I included "boost/regex.hpp". I get the following errors when
>> compiling my code.
>
>
>
>> Can sme please shed some light on the problem. I am only using the
>> regex_match function. I create an expression object, and use
>> regex_match to match against it.
>>
>> Thanks in advance for any help.
>
>
> I suspect that you are including the platforms <regex.h> (possibly
> indirectly) before including <boost/regex.hpp>. That currently causes
> conflicts: there is a fix in the works, but it involves a complete
> restructuring of Boost.Regex that won't be released until Boost-1.33
> (that's the release after next).
>
> John.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
I just check my includes. I only include
"boost/filesystem/operations.hpp", boost/filesystem/path.hpp, and
boost/regex.hpp. I didn't see where the filesystem headers include
regex headers. So I don't think that I am including regex.h before
regex.hpp.


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