3.3.2 <--> 3.4.2 compatibility?
Paolo Carlini
pcarlini@suse.de
Tue Mar 1 15:46:00 GMT 2005
Steve Snyder wrote:
>Specifically, I get many, many occurances of this (on the 3.4.3
>system):
>
>/usr/include/c++/3.3.2/bits/stl_alloc.h:232: undefined reference to
>`std::__default_alloc_template<true, 0>::allocate(unsigned int)'
>
>Shouldn't there be binary compatibility between these 2 versions of
>GCC?
>
>
The quick answer is no, sorry. Have a look to this document, for details:
http://gcc.gnu.org/onlinedocs/libstdc++/abi.html
You can see that going from 3.3.3 to 3.4.0 the major *.so number jumped from
5 to 6, signaling an hard incompatibility.
Paolo.
More information about the Gcc
mailing list