From: Martin Quinson Date: Fri, 7 May 2021 22:16:11 +0000 (+0200) Subject: Revert "Try to activate -Wsugests-override in GNU compiler, as it may help if it... X-Git-Tag: v3.28~306 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/2a23e591db00e95934fb2fe29489eced821e2aa3 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. --- 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: