diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c78f0f..352c9d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,7 +7,7 @@ OPTION(CODE_ANALYZER "Analyze the code statically" ON) OPTION(CODE_COVERAGE "Build with coverage tools" OFF) if (CMAKE_C_COMPILER_ID STREQUAL "GNU") - add_compile_options(-Wall -Wextra -Werror -Wformat-overflow=2 -Wformat-security -Winit-self -Wstrict-overflow=2 -Wstringop-overflow=2 -Walloc-zero -Wduplicated-branches -Wduplicated-cond -Wtrampolines -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wparentheses -pedantic -fstack-check) + add_compile_options(-Wall -Wextra -Werror -Wformat-overflow=2 -Wformat-security -Winit-self -Wstrict-overflow=2 -Wstringop-overflow=2 -Walloc-zero -Wduplicated-branches -Wduplicated-cond -Wtrampolines -Wfloat-equal -Wshadow -Wunsafe-loop-optimizations -Wparentheses -pedantic -fstack-check -Wno-unused-parameter) if ( CODE_ANALYZER ) add_compile_options(-fanalyzer) endif()