[Bug c++/53455] boost::python segfault

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 14 15:45:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53455

--- Comment #20 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-06-14 15:45:23 UTC ---
That wouldn't help if you built one object with -std=c++11 and another with
-std=c++98 and linked them both into the same .so, you'd have the symbol, but
wouldn't have built everything with -std=c++11

Anyway, it's the same bug, it happens when passing a std::pair between c++11
code and c++98 code and if you make the std::pair move-ctor trivial then
there's no crash.



More information about the Gcc-bugs mailing list