/usr/include/boost/regex/v4/char_regex_traits.hpp: In member function
'uint_fast32_t
boost::deprecated::char_regex_traits_i<wchar_t>::lookup_classname(const
wchar_t*, const wchar_t*) const':
/usr/include/boost/regex/v4/char_regex_traits.hpp:68: error:
'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous
type
/usr/include/boost/regex/v4/char_regex_traits.hpp:68: error: trying
to instantiate 'template<class T> struct boost::is_integral'
make[2]: *** [monotone-commands.o] Error 1
I saw this too, but it seemed only to occur with particular
compiler optimisation flags. As a workaround I just
commented out the bulk of
/usr/include/boost/regex/v4/char_regex_traits.hpp in the
"deprecated" namespace, and it compiled fine.
Given monotone compiles without that code at all, it'd
suggest that it is either a boost or gcc problem (leaning
towards the latter, since it seems to be affected by
optimisation)?