D24682: Use ECMGenerateExportHeader to manage deprecated API better

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Wed Oct 16 00:14:32 BST 2019


kossebau added inline comments.

INLINE COMMENTS

> recurrence.h:149
>  
> +#if KCALENDARCORE_BUILD_DEPRECATED_SINCE(5, 64)
>      /**

Only using `KCALENDARCORE_BUILD_DEPRECATED_SINCE` here and not `KCALENDARCORE_ENABLE_DEPRECATED_SINCE`, because we have no idea yet how all compilers would deal with any tricks to hide the method here, given the alternative chance of implicitly-declared copy assignment operator.

So this method for now can be only excluded from build, but not made invisible to library consumers if build in.

Needs more investigations

REVISION DETAIL
  https://phabricator.kde.org/D24682

To: kossebau, #frameworks, vkrause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191015/76f4e746/attachment.html>


More information about the Kde-frameworks-devel mailing list