Skip to content

Commit

Permalink
Merge pull request #12 from ricab/tweak-clang-warnings
Browse files Browse the repository at this point in the history
Activate only sensible clang warnings
  • Loading branch information
ricab authored May 16, 2021
2 parents 3ce62eb + 8640146 commit ed77eeb
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 ed77eeb

Please sign in to comment.