how to backport without breaking ABI?
nicolas.alvarez at gmail.com
Sun Feb 13 01:53:51 UTC 2011
On 12/02/2011, floris <flo.ruijt at gmail.com> wrote:
> of course older kdevelops which treat that member as a simple pointer
> can still store a raw pointer which gets deleted prematurely, but
> there's really nothing you can do about that.
That will never happen because m_previousContext is a private member.
KDevelop can't set that private member in the class from kdevplatform.
The only problem would be if AbstractNavigationContext had *inline*
methods that used to rely on m_previousContext being a raw pointer and
now rely on it being a KSharedPtr; because the raw pointer code would
be in the kdevelop binary instead of the kdevplatform library.
More information about the KDevelop-devel