This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: c++ link incompatibility between 3.4.0 and 3.4.1-20040625
>> AFAIK, the Debian GCC team assumes that both are compatibile (because
>> of symbol versioning). I *known* that it's not true, but I still have
>> to construct an example that proves I'm right. 8-)
>
> $ cat right.cc
> #include<list>
> int main()
> {
> std::list<int> v;
> v.push_back(0);
> }
> $ g++-3.4 -c right.cc
> $ g++-3.3.3 right.o
This obviously doesn't work. I'm concerned about the interoperability
of shared libraries.