Boost logo

Boost Users :

From: Gerry Woods (gwoods_at_[hidden])
Date: 2002-02-18 03:03:39


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<charT,
traits_type, Allocator> &) [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<iterator, Allocator> &, const
boost::reg_expression<charT, traits, Allocator2> &, unsigned int,
boost::re_detail::_priv_match_data<iterator, Allocator> &, 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<charT, traits, Allocator2> &, 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<charT, traits, Allocator2> &, 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


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