Skip to content

Commit

Permalink
Revert "do not turn "switch" warnings into errors"
Browse files Browse the repository at this point in the history
This reverts commit 0866893207f81adbb977e765c34ec719b23e68ce.
  • Loading branch information
christianrauch committed Dec 31, 2024
1 parent 9d3c105 commit 0674879
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ set(CMAKE_CXX_STANDARD 17)

if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic -Werror)
add_compile_options(-Wno-error=switch)
add_link_options("-Wl,-z,relro,-z,now,-z,defs")
endif()

Expand Down

0 comments on commit 0674879

Please sign in to comment.