aboutsummaryrefslogtreecommitdiff
path: root/kde-modules/KDEFrameworkCompilerSettings.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-01-03 00:25:51 +0000
committerStephen Kelly <steveire@gmail.com>2017-01-03 00:25:51 +0000
commit4a986d8db8e9b594679b008fd70b818ef2ad94a5 (patch)
treec827696132da94e288896a0c848bea8368a74143 /kde-modules/KDEFrameworkCompilerSettings.cmake
parent5ed7ba07e4f382f4e07e2de7feca33c16a2793f7 (diff)
downloadextra-cmake-modules-4a986d8db8e9b594679b008fd70b818ef2ad94a5.tar.gz
extra-cmake-modules-4a986d8db8e9b594679b008fd70b818ef2ad94a5.tar.bz2
Revert "Enable -Wsuggest-override for g++ >= 5.0.0"
This reverts commit d1d637fadd6dad68995d44101250ebbc3307ed0b. This is far too noisy. The correct steps for this kind of change are: * Enable the warning locally * Take the action recommended by the warning in the code, and push the result * Push the warning on everyone to enforce that the code stays fixed for the future
Diffstat (limited to 'kde-modules/KDEFrameworkCompilerSettings.cmake')
-rw-r--r--kde-modules/KDEFrameworkCompilerSettings.cmake3
1 files changed, 0 insertions, 3 deletions
diff --git a/kde-modules/KDEFrameworkCompilerSettings.cmake b/kde-modules/KDEFrameworkCompilerSettings.cmake
index 3998f8af..038ddc3b 100644
--- a/kde-modules/KDEFrameworkCompilerSettings.cmake
+++ b/kde-modules/KDEFrameworkCompilerSettings.cmake
@@ -63,9 +63,6 @@ endif()
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic")
- if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.0.0")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsuggest-override" )
- endif()
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# -Wgnu-zero-variadic-macro-arguments is triggered by every qCDebug() call and therefore results
# in a lot of noise. This warning is only notifying us that clang is emulating the GCC behaviour