[C++-sig] boost::python and gcc 3.4

Nick Rasmussen nick at ilm.com
Tue Apr 27 01:58:03 CEST 2004


I'm up to date with the latest CVS, and it seems like the
same problem is showing up in the nightly build of the head:

http://boost.sourceforge.net/regression-logs/cs-Linux/output/bin-boost-libs-python-test-embedding-test-gcc-3-4-0-linux-debug-threading-multi.html

-nick

On Mon, 26 Apr 2004, Ralf W. Grosse-Kunstleve wrote:

> Did you try this with the latest Boost CVS?
> Unfortunately the "auto_ptr trouble"
> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14528) was discovered and fixed
> only after the Boost 1.31.0 release. I am not sure though if it is directly
> related to your problem.
> Ralf
> 
> --- Nick Rasmussen <nick at ilm.com> wrote:
> > Now that gcc 3.4 is enforcing the standard more strictly, what's
> > the new way of doing:
> > 
> >      handle<> main_module(borrowed( PyImport_AddModule("__main__") ));
> > 
> > (taken from the embedding section of the tutorial)
> > 
> > Without triggering a copy constructor call on a boost::noncopyable
> > object.
> > 
> > Here's the relevant traffic from the gcc guys as to why the copy
> > constructor's getting called:
> > 
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14618
> > http://gcc.gnu.org/bugs.html#cxx_rvalbind
> > 
> > -nick
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25?
> http://photos.yahoo.com/ph/print_splash
> 
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig





More information about the Cplusplus-sig mailing list