GCC 4.7, STL and binary compatibility of objects built with different language standards
chrisccoulson at ubuntu.com
Mon Jun 11 15:13:18 UTC 2012
On 11/06/12 16:05, Chase Douglas wrote:
> I would have assumed that language standard choices should be
> intermixable across libraries. Is it possible this is merely a bug in GCC?
> -- Chase
Matthias just pointed me to
http://gcc.gnu.org/wiki/Cxx11AbiCompatibility on IRC, so it seems that
this behaviour is expected.
So, either we need to build some libraries more than once or we need to
enforce the language standard for all modules in the archive that expose
STL in public API's (or consume these public API's).
More information about the ubuntu-devel