From 86401463522a19feedb81786744c55e2d841065e Mon Sep 17 00:00:00 2001 From: Ricardo Abreu Date: Sun, 16 May 2021 12:54:20 +0100 Subject: [PATCH] Activate only sensible clang warnings --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 158f432..7f357b9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,7 +22,7 @@ set(CMAKE_CXX_STANDARD 11) # compiler warnings if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") - set(clang_warnings "-Weverything -pedantic -Wno-c++98-compat \ + set(clang_warnings "-Wall -Wextra -pedantic -Wno-c++98-compat \ -Wno-unreachable-code -Wno-padded -Wno-exit-time-destructors \ -Wno-global-constructors -Wno-exit-time-destructors -Wno-unused-variable \ -Wno-unused-member-function -Wno-unused-function -Wno-class-varargs")