D29573: ECMGenerateExportHeader: add generation of *_DEPRECATED_VERSION_BELATED()

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Sat May 9 20:55:17 BST 2020


kossebau created this revision.
kossebau added reviewers: Frameworks, Build System, dfaure.
Herald added projects: Frameworks, Build System.
Herald added subscribers: kde-buildsystem, kde-frameworks-devel.
kossebau requested review of this revision.

REVISION SUMMARY
  Now and then tagging some API as deprecated for the compiler is forgotten.
  Doing this retractivitly in newer versions but using the official version
  might break build setups configured to only show warnings up to a certain
  version and otherwise fail a build, using -Werror=deprecated-declarations.
  
  To allow retroactive tagging of API for compiler warnings, and showing the
  official version in the warniung message, while reacting only to warning
  controls for the current version where the tag is added, avoids any such
  annoying experiences, without wrong version info at the same time.

REPOSITORY
  R240 Extra CMake Modules

BRANCH
  addbelated

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

AFFECTED FILES
  modules/ECMGenerateExportHeader.cmake

To: kossebau, #frameworks, #build_system, dfaure
Cc: kde-frameworks-devel, kde-buildsystem, LeGast00n, cblack, bencreasy, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-buildsystem/attachments/20200509/57279752/attachment.htm>


More information about the Kde-buildsystem mailing list