This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++: Guidelines for ABI-preserving changes


I'm looking for a document which describes common changes which do not change the ABI of a library. There are a few possible changes listed under:

<http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html>

, but I hope there are more possibilities, such as adding a virtual member function at the end of the class definition, assuming that the class had any virtual member functions before, and there are no classes deriving from it.

Recommendations for increasing the range of ABI-preserving changes (mainly the pImpl idiom) would be welcome as well.

Does such a document exist already?

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]