[C++-sig] Re: boost::python::object and stl::map warning

Stefan Fleiter sf.lists at web.de
Fri Oct 17 09:30:21 CEST 2003



David Abrahams wrote:

>> warning: cannot pass objects of non-POD type `struct 
>> std::_Rb_tree_iterator<std::pair<const boost::python::api::object, 
>> boost::python::api::object>, const std::pair<const 
>> boost::python::api::object, boost::python::api::object>&, const 
>> std::pair<const boost::python::api::object, 
>> boost::python::api::object>*>' through `...'; call will abort at runtime

> Still longer answer:  Ok, ok.  Try the enclosed patch ;->

I get an *error* with the same message.
g++ -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr 
--with-local-prefix=/usr/local --infodir=/usr/share/info 
--mandir=/usr/share/man --libdir=/usr/lib 
--enable-languages=c,c++,f77,objc,java,ada --enable-libgcj 
--with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib 
--with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.2 (SuSE Linux)


Could you check this patch in the cvs, please?

Thanks a lot,
Stefan





More information about the Cplusplus-sig mailing list