On Thu, 2005-06-02 at 08:36 -0500, Jordan Breeding wrote:
> Hello,
>
> I just recently updated my monotone repo and tried to recompile. Your regex
> changes seem to have broken my compiler. I know that a few days ago I was
> able to compile all of monotone so I don't think that it is the compiler.
>
Those errors are all from packet.cc:1426, in extract_packets. That
function hasn't been touched since January.
1425: string const biggie = (data + "|" + delta + "|" + cert + "|" +
keydata);
1426: regex expr(biggie);
This shouldn't be breaking. I'm sending this to the list, IIRC there was
some mention of Apple GCC 4 having problems?
Tim
> Compiler info:
>
> Using built-in specs.
> Target: powerpc-apple-darwin8
> Configured with: /Users/billn/Public/Darwin/gcc-5017/build/obj/src/configure
> --disable-checking --prefix=/usr --mandir=/share/man
> --enable-languages=c,objc,c++,obj-c++,f95
> --program-transform-name=/^[cg][^+.-]*$/s/$/-4.0/
> --with-gxx-include-dir=/include/gcc/darwin/4.0/c++
> --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8
> --target=powerpc-apple-darwin8
> Thread model: posix
> gcc version 4.0.0 (Apple Computer, Inc. build 5017)
>
> Debug info:
>
> if g++ -DLOCALEDIR=\"/usr/local/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.
> -I../boost_1_32_0 -I/usr/local/include -I./lua -I./sqlite -DNDEBUG
> -DBOOST_DISABLE_THREADS -Wall -O3 -pipe -mcpu=7450 -MT monotone-packet.o -MD
> -MP -MF ".deps/monotone-packet.Tpo" -c -o monotone-packet.o `test -f
> 'packet.cc' || echo './'`packet.cc; \
> then mv -f ".deps/monotone-packet.Tpo" ".deps/monotone-packet.Po"; else rm -f
> ".deps/monotone-packet.Tpo"; exit 1; fi
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp: In member function
> 'boost::re_detail::re_syntax_base* boost::reg_expression Allocator>::compile_set_simple(boost::re_detail::re_syntax_base*, long
> unsigned int, bool) [with charT = char, traits = boost::regex_traits,
> Allocator = std::allocator]':
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1635: instantiated from
> 'unsigned int boost::reg_expression Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression Allocator>::set_expression(const std::basic_string&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits, SA = std::allocator, charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression::reg_expression(const
> std::basic_string&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char_traits, SA = std::allocator, charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from
> 'boost::basic_regex::basic_regex(const
> std::basic_string&, typename boost::reg_expression traits, Allocator>::flag_type, const Allocator&) [with ST =
> std::char_traits, SA = std::allocator, charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> packet.cc:1426: instantiated from here
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error:
> 'boost::re_detail::c_traits_base::' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to
> instantiate 'template struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error:
> 'boost::re_detail::c_traits_base::' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to
> instantiate 'template struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp: In member function
> 'boost::re_detail::re_syntax_base* boost::reg_expression Allocator>::compile_set(const charT*&, const charT*) [with charT = char,
> traits = boost::regex_traits, Allocator = std::allocator]':
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from
> 'unsigned int boost::reg_expression Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression Allocator>::set_expression(const std::basic_string&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits, SA = std::allocator, charT = char, traits =
> boost::regex_traits, Allocator = std::allocator]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression::reg_expression(const
> std::basic_string&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char