Skip to content

Commit

Permalink
src/CMakeLists.txt: remove -Werror. It is enabled only for developmen…
Browse files Browse the repository at this point in the history
…t and CI, using Makefile_v1 without NDEBUG
  • Loading branch information
DDvO committed Oct 19, 2024
1 parent ce62c6d commit ca6a334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ target_compile_options(secutils_compilation_options INTERFACE
-Wall -Woverflow -Wextra -Wswitch -Wmissing-prototypes -Wstrict-prototypes
-Wformat -Wformat-security -Wtype-limits -Wundef
-Wsign-compare -Wpointer-arith -Wunused-parameter
-pedantic -Werror
-pedantic
# -Werror is enabled only for development and CI, using Makefile_v1 without NDEBUG

# TODO clean up code and re-enable warnings instead:
-Wno-conversion -Wno-sign-conversion -Wno-c99-extensions
Expand Down

0 comments on commit ca6a334

Please sign in to comment.