diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2020-05-09 21:47:06 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2020-05-13 18:07:08 +0200 |
commit | cc8bccadcdb9a0b823673ab412bb0a13ef35d3ee (patch) | |
tree | 7940899cdfc50cace589c3094f5e4f5608e1f950 /tests/ECMPoQmToolsTest/tr_test.cpp | |
parent | a70e9a0162f7814b33af0cfe6d7f67731ba7cce4 (diff) | |
download | extra-cmake-modules-cc8bccadcdb9a0b823673ab412bb0a13ef35d3ee.tar.gz extra-cmake-modules-cc8bccadcdb9a0b823673ab412bb0a13ef35d3ee.tar.bz2 |
ECMGenerateExportHeader: add generation of *_DEPRECATED_VERSION_BELATED()
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.
Reviewers: #frameworks, #build_system, dfaure
Reviewed By: dfaure
Subscribers: kde-frameworks-devel, kde-buildsystem
Tags: #frameworks, #build_system
Differential Revision: https://phabricator.kde.org/D29573
Diffstat (limited to 'tests/ECMPoQmToolsTest/tr_test.cpp')
0 files changed, 0 insertions, 0 deletions