From 5b6537674fff252762735fc3990ffabf258221e2 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Wed, 12 May 2021 18:41:31 +0300 Subject: [PATCH] Enable -Wattributes warnings --- cmake_modules/ConfigureCompiler.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cmake_modules/ConfigureCompiler.cmake b/cmake_modules/ConfigureCompiler.cmake index e4cb934010..e33e39c463 100644 --- a/cmake_modules/ConfigureCompiler.cmake +++ b/cmake_modules/ConfigureCompiler.cmake @@ -64,10 +64,6 @@ else() endif() #TODO Clean the code so these are removed - if (NOT (${CMAKE_CXX_COMPILER_ID} MATCHES "GNU") OR (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.1)) - add_compile_options(-Wno-attributes) - endif() - if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") add_compile_options(-fconstexpr-steps=16777216) add_compile_options(-Wno-unused-lambda-capture)