Skip to content

Commit

Permalink
Activate only sensible clang warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ricab committed May 16, 2021
1 parent 3ce62eb commit 8640146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 8640146

Please # to comment.