D24990: KDEFrameworkCompilerSettings: enable all Qt % KF deprecation warnings

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Nov 19 13:39:03 GMT 2019


kossebau added a comment.


  Hm, only noticed now that this actually has an unwanted sideeffects: it triggers deprecation warnings for all deprecated warning also inside each library itself. Which is not what one wants.
  
  Because so far FOO_DISABLE_DEPRECATED_BEFORE_AND_AT as set while building library FOO defaults FOO_DEPRECATED_WARNINGS_SINCE to the same version, which means, any calls of own deprecated API will be without warnings as well as also with the autotests (due to definitions being exported in the BUILD interface). But with the group variant of *_DEPRECATED_WARNINGS_SINCE now being set, FOO_DEPRECATED_WARNINGS_SINCE instead defaults to that value.
  
  Reserved some time this week to give this some more thought, so far no satisfying proposal yet developed.

REPOSITORY
  R240 Extra CMake Modules

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

To: kossebau, #frameworks, #build_system, apol, dfaure
Cc: dfaure, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191119/4ab6cdaa/attachment.html>


More information about the Kde-frameworks-devel mailing list