[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: cannot compile monotone after your netsync changes
From: |
Timothy Brownawell |
Subject: |
[Monotone-devel] Re: cannot compile monotone after your netsync changes |
Date: |
Thu, 02 Jun 2005 14:13:17 -0500 |
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<charT, traits,
> Allocator>::compile_set_simple(boost::re_detail::re_syntax_base*, long
> unsigned int, bool) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]':
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1635: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression<charT, traits, Allocator>::reg_expression(const
> std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from
> 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const
> std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT,
> traits, Allocator>::flag_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> packet.cc:1426: instantiated from here
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error:
> 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error:
> 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:726: error: trying to
> instantiate 'template<class T> 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<charT, traits,
> Allocator>::compile_set(const charT*&, const charT*) [with charT = char,
> traits = boost::regex_traits<char>, Allocator = std::allocator<char>]':
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression<charT, traits, Allocator>::reg_expression(const
> std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from
> 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const
> std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT,
> traits, Allocator>::flag_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> packet.cc:1426: instantiated from here
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:799: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:799: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error:
> 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error:
> 'boost::re_detail::c_traits_base::<anonymous enum>' is/uses anonymous type
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:807: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression<charT, traits, Allocator>::reg_expression(const
> std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from
> 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const
> std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT,
> traits, Allocator>::flag_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> packet.cc:1426: instantiated from here
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:918: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:918: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1848: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const charT*, const charT*,
> boost::regex_constants::syntax_option_type) [with charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:110: instantiated from
> 'unsigned int boost::reg_expression<charT, traits,
> Allocator>::set_expression(const std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:114: instantiated from
> 'boost::reg_expression<charT, traits, Allocator>::reg_expression(const
> std::basic_string<charT, ST, SA>&,
> boost::regex_constants::syntax_option_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> ../boost_1_32_0/boost/regex/v4/basic_regex.hpp:361: instantiated from
> 'boost::basic_regex<charT, traits, Allocator>::basic_regex(const
> std::basic_string<charT, ST, SA>&, typename boost::reg_expression<charT,
> traits, Allocator>::flag_type, const Allocator&) [with ST =
> std::char_traits<char>, SA = std::allocator<char>, charT = char, traits =
> boost::regex_traits<char>, Allocator = std::allocator<char>]'
> packet.cc:1426: instantiated from here
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:941: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:941: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:952: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:952: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:963: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:963: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:974: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:974: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:985: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:985: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1026: error:
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type' uses local type
> 'boost::reg_expression<charT, traits, Allocator>::compile_set(const charT*&,
> const charT*) [with charT = char, traits = boost::regex_traits<char>,
> Allocator = std::allocator<char>]::last_type'
> ../boost_1_32_0/boost/regex/v4/regex_compile.hpp:1026: error: trying to
> instantiate 'template<class T> struct boost::is_integral'
> make[2]: *** [monotone-packet.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Thanks,
> Jordan
- [Monotone-devel] Re: cannot compile monotone after your netsync changes,
Timothy Brownawell <=