Skip to content

Commit

Permalink
cmake: do not use -Weverything option
Browse files Browse the repository at this point in the history
  • Loading branch information
deniskovalchuk committed Dec 19, 2024
1 parent a7ecd5e commit 7e01612
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,10 @@ if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
# Use 'MATCHES' to match all Clang-based compilers.
add_compile_options(
-Weverything
-Wno-unused-parameter
-Wno-c++98-compat-pedantic
-Wno-padded
-Wno-weak-vtables)
-Wall
-Wextra
-Wpedantic
-Wno-unused-parameter)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
add_compile_options(
/W4
Expand Down

0 comments on commit 7e01612

Please sign in to comment.