[C++-sig] Re: gcc 3.3

Paul F. Kunz c++-sig@python.org
Thu, 15 May 2003 17:10:40 -0700


>>>>> On Thu, 15 May 2003 18:53:50 -0400, David Abrahams <dave@boost-consulting.com> said:

> "Paul F. Kunz" <Paul_Kunz@SLAC.Stanford.EDU> writes:
>> I've just installed gcc 3.3 and I get the following error
>> 
>> /usr/local/boost/boost/python/converter/as_to_python_function.hpp:31:
>> sorry, unimplemented: ` method_call_expr' not supported by
>> dump_expr
>> 
>> I understanding the warning, but I get the error 4 times.  Any
>> ideas?

> That's a compiler bug, plain and simple.  You should report it to
> the gcc people: http://gcc.gnu.org/bugs.html.

   I commented out in boost/python/converter/as_to_python_function.hh


        BOOST_STATIC_ASSERT(
            sizeof(
                convert_function_must_take_value_or_const_reference(&ToPython::convert, 1L))
            == sizeof(int));

and thing compiled and ran ok.