Hi,
I'm new to boost and I'm primarily interested in the regex library but I get
some scary looking errors when trying to compile on RedHat. I imagine that
someone must have tried this already.
Thanks for any help you can offer.
Gerry
uname -a
Linux gloria.we.mediaone.net 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686
unknown
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-81)
make -f gcc.mak
g++ -o gcc/boost_regex/cregex.o -c -O2 -I../../../ ../src/cregex.cpp
../../../boost/regex.hpp: In function `iterator
boost::re_detail::re_is_set_member (iterator, iterator, const
boost::re_detail::re_set_long *, const boost::reg_expression &) [with iterator =
boost::re_detail::mapfile_iterator, charT = char, traits_type =
boost::regex_traits<char>, Allocator = allocator<char>]':
../../../boost/regex/detail/regex_match.hpp:600: instantiated from
`boost::re_detail::query_match_aux (iterator, iterator,
boost::match_results &, const
boost::reg_expression &, unsigned int,
boost::re_detail::_priv_match_data &, iterator *) [with
iterator = boost::re_detail::mapfile_iterator, Allocator = allocator<char>,
charT = char, traits = boost::regex_traits<char>, Allocator2 =
allocator<char>]'
../../../boost/regex/detail/regex_match.hpp:1177: instantiated from
`boost::re_detail::reg_grep2 (Predicate, I, I, const
boost::reg_expression &, unsigned int, A2) [with
Predicate = boost::re_detail::pred4, I = boost::re_detail::mapfile_iterator,
charT = char, traits = boost::regex_traits<char>, A = allocator<char>, A2 =
allocator<char>]'
../../../boost/regex/detail/regex_match.hpp:1836: instantiated from
`boost::regex_grep (Predicate, iterator, iterator, const
boost::reg_expression &, unsigned int) [with
Predicate = boost::re_detail::pred4, iterator =
boost::re_detail::mapfile_iterator, charT = char, traits =
boost::regex_traits<char>, Allocator = allocator<char>]'
../src/cregex.cpp:387: instantiated from here
../../../boost/regex.hpp:244: Internal compiler error in scan_region,
at except.c:2809
Please submit a full bug report.
See URL:http://bugzilla.redhat.com/bugzilla/ for instructions.
make: *** [gcc/boost_regex/cregex.o] Error 1