diff options
author | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-25 15:27:39 +0200 |
---|---|---|
committer | Friedrich W. H. Kossebau <kossebau@kde.org> | 2022-06-25 15:30:06 +0200 |
commit | 0064cf77e96acda8a99c0eba4cc89f83768b65d3 (patch) | |
tree | d3b95582276f2910553de3d3c9d6de967c91d113 /kde-modules/KDEFrameworkCompilerSettings.cmake | |
parent | 8687d6cb7a838ce619ca6aca97507cbaf5e3ce9c (diff) | |
download | extra-cmake-modules-5.96.0.tar.gz extra-cmake-modules-5.96.0.tar.bz2 |
ECMDeprecationSettings: enable warnings by defaultv5.96.0-rc1v5.96.0
The main target consumers of this macro currently (should) want to be
informed about new deprecations as early as possible. As do the authors
of the warnings.
So instead let's make no warnings an opt-in. Not documenting the
now deprecated flag in the docs, given no wide-spread use yet, just
supporting still in the code with a note to users.
Diffstat (limited to 'kde-modules/KDEFrameworkCompilerSettings.cmake')
-rw-r--r-- | kde-modules/KDEFrameworkCompilerSettings.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kde-modules/KDEFrameworkCompilerSettings.cmake b/kde-modules/KDEFrameworkCompilerSettings.cmake index bbe38026..47a39aa8 100644 --- a/kde-modules/KDEFrameworkCompilerSettings.cmake +++ b/kde-modules/KDEFrameworkCompilerSettings.cmake @@ -57,12 +57,6 @@ endif() # Current defaults include(KDECompilerSettings NO_POLICY_SCOPE) -# enable warnings for any deprecated Qt/KF API of current 5 series -add_definitions( - -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 - -DKF_DEPRECATED_WARNINGS_SINCE=0x060000 -) - # add clang-format target include(KDEClangFormat) file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h *.hpp *.c) |