On Thu, 2012-06-14 at 15:14 +0200, Matthias Klose wrote:
> While PR53646 claims that c++98 and c++11 should be ABI
> compatible (modulo bugs), the addition of the _M_size member
> to std::_List_base::_List_impl makes libraries using
> std::list in headers incompatible
This is pretty nasty for LibreOffice (and no doubt others). We can, and
often do depend on rather a number of system C++ libraries and at a very
minimum, having no simple way to detect which C++ ABI we have to build
against 'old' vs. 'new' - is profoundly unpleasant.
Is there no chance of having a bug fix that is a revision of the
(unintended?) ABI breakage in this compiler series ?
> And is there a way to tell which mode a shared object/an
> executable was built for, when just looking at the stripped
> or unstripped object?
I guess here we have a compile-time checking problem; we would need
some more or less gross configure hack to try to detect which ABI is
deployed; suggestions appreciated.
Many thanks for the (otherwise) excellent gcc :-)
ATB,
Michael.
--
[email protected] <><, Pseudo Engineer, itinerant idiot