commit b4a4c735f095efa4be2b1e7e9dac9e7ce76e7341
parent 97133c3d00dd18b7c63c86e9a5a1945f45c58c2e
Author: Frederic Cambus <fcambus@users.sourceforge.net>
Date: Thu, 23 Jul 2015 23:38:35 +0200
Enabling the '-Wextra' flag again
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -27,7 +27,7 @@ if(NOT HAVE_STRTONUM)
set (SRC ${SRC} compat/strtonum.c)
endif()
-add_definitions(-Wall -Werror -std=c99 -pedantic)
+add_definitions(-Wall -Wextra -Werror -std=c99 -pedantic)
add_executable(logswan ${SRC} ${DEPS})
target_link_libraries(logswan ${LIB_GEOIP} ${LIB_JANSSON} m)