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
(possibly indirectly) before including . 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@lists.boost.org 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.