Hello,
boost/regex.hpp fails to compile with gcc 4.6, giving the following errors:
In file included from /lib/boost/boost/regex/v4/perl_matcher.hpp:578:0,
from /lib/boost/boost/regex/v4/regex.hpp:88,
from /lib/boost/boost/regex.hpp:31,
from test.cpp:1:
/lib/boost/boost/regex/v4/perl_matcher_non_recursive.hpp: In member function ‘bool boost::re_detail::perl_matcher::unwind_short_set_repeat(bool)’:
/lib/boost/boost/regex/v4/perl_matcher_non_recursive.hpp:1394:85: error: invalid use of incomplete type ‘const struct boost::regex_traits_wrapper<traits>’
/lib/boost/boost/regex/v4/regex_traits.hpp:163:8: error: declaration of ‘const struct boost::regex_traits_wrapper<traits>’
/lib/boost/boost/regex/v4/perl_matcher_non_recursive.hpp:1394:85: error: invalid type argument of unary ‘*’ (have ‘BidiIterator’)
It compiles fine with gcc 4.5.
Is this an issue with boost or gcc? Should I report it as a bug?
Thanks,
Nate.