[C++-sig] latest checkin breaks builtin_converters.cpp on GCC cygwin

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Nov 4 19:48:06 CET 2003


FWIW: I had the exact same problem with gcc 3.3.1 under Mac OS 10.2.8. I.e. the
workaround should probably be gcc-specific (as opposed to platform-specific).
Ralf

--- Paul Magwene <paul.magwene at yale.edu> wrote:
> The latest CVS checkin for builtin_converters (see below), seems to 
> break the  boost.python build on cygwin (gcc version 3.3.1 (cygming 
> special)).
> 
> A CVS version checked out early yesterday  before this latest checkin 
> built fine.
> 
> --Paul M.
> 
> 
> 
> boost/boost/libs/python/src/converter/builtin_converters.cpp
> 	
> Revision 1.27 - (download), view (text) (markup) (annotate) - [select 
> for diffs]
> Mon Nov 3 20:45:21 2003 UTC (21 hours, 33 minutes ago) by david_abrahams
> CVS Tags: HEAD
> Changes since 1.26: +1 -1 lines
> Diff to previous 1.26
> 
> Warning suppression thanks to Mike Rovner <mike-at-bindkey.com>
> 
> 
> Error message:
> 
> /usr/local/boost/libs/python/src/converter/builtin_converters.cpp: In static
>     member function `static void
>     boost::python::converter::<unnamed>::slot_rvalue_from_python<T,
>     SlotPolicy>::construct(PyObject*,
>     boost::python::converter::rvalue_from_python_stage1_data*) [with T =
>     std::complex<float>, SlotPolicy =
>     boost::python::converter::<unnamed>::complex_rvalue_from_python]':
> /usr/local/boost/libs/python/src/converter/builtin_converters.cpp:56: 
> instantiated from 
> `boost::python::converter::<unnamed>::slot_rvalue_from_python<T, 
> SlotPolicy>::slot_rvalue_from_python() [with T = std::complex<float>, 
> SlotPolicy = 
> boost::python::converter::<unnamed>::complex_rvalue_from_python]'
> /usr/local/boost/libs/python/src/converter/builtin_converters.cpp:401: 
>   instantiated from here
> /usr/local/boost/libs/python/src/converter/builtin_converters.cpp:78: 
> error: invalid static_cast from type `std::complex<double>' to type 
> `std::complex<float>'
> 
> -- 
> Paul M. Magwene, Ph.D.
> Postdoctoral Fellow
> Department of Biology
> University of Pennsylvania
> 
> Goddard Labs, Rm 203
> (215)898-8395


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree




More information about the Cplusplus-sig mailing list