From b73befd677c68a30720d5b4018c7871d164e2e5a Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Wed, 9 Oct 2024 10:08:45 +0200 Subject: [PATCH] [cmake] reenable -Wlanguage-extension-token since the offending macros are now silenced reenable the warning so we are warned about unintentional use of extensions. --- cmake/CXXCompilerFlags.cmake | 1 - cmake/CompilerFlags.cmake | 1 - 2 files changed, 2 deletions(-) diff --git a/cmake/CXXCompilerFlags.cmake b/cmake/CXXCompilerFlags.cmake index 7b613ff0d..95bc64cdc 100644 --- a/cmake/CXXCompilerFlags.cmake +++ b/cmake/CXXCompilerFlags.cmake @@ -43,7 +43,6 @@ if (ENABLE_WARNING_VERBOSE) -Wno-reserved-identifier -Wno-covered-switch-default -Wno-disabled-macro-expansion - -Wno-language-extension-token -Wno-ctad-maybe-unsupported -Wno-c++98-compat -Wno-c++98-compat-pedantic diff --git a/cmake/CompilerFlags.cmake b/cmake/CompilerFlags.cmake index 959eba85f..9abc51340 100644 --- a/cmake/CompilerFlags.cmake +++ b/cmake/CompilerFlags.cmake @@ -43,7 +43,6 @@ if (ENABLE_WARNING_VERBOSE) -Wno-reserved-identifier -Wno-covered-switch-default -Wno-disabled-macro-expansion - -Wno-language-extension-token ) endif()