From 2a23e591db00e95934fb2fe29489eced821e2aa3 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 8 May 2021 00:16:11 +0200 Subject: [PATCH] Revert "Try to activate -Wsugests-override in GNU compiler, as it may help if it works" This fails for old versions of GCC, which could be worked around, but also on ns-3 headers, which is harder to fix properly. This reverts commit 694a2b171a6e03d42d5068bc6ba6c353cb0e34e3. --- tools/cmake/Flags.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cmake/Flags.cmake b/tools/cmake/Flags.cmake index d101b92122..0a195ecce8 100644 --- a/tools/cmake/Flags.cmake +++ b/tools/cmake/Flags.cmake @@ -19,7 +19,7 @@ if(enable_compile_warnings) set(warnCFLAGS "${warnCFLAGS} -Wformat-signedness") endif() if(CMAKE_COMPILER_IS_GNUCC) - set(warnCFLAGS "${warnCFLAGS} -Wsuggest-override -Wclobbered -Wno-error=clobbered -Wno-unused-local-typedefs -Wno-error=attributes -Wno-error=maybe-uninitialized") + set(warnCFLAGS "${warnCFLAGS} -Wclobbered -Wno-error=clobbered -Wno-unused-local-typedefs -Wno-error=attributes -Wno-error=maybe-uninitialized") endif() if (CMAKE_CXX_COMPILER_ID MATCHES "Intel") # ignore remarks: -- 2.20.1