From 5313db43995ee8a393118315a5b25a47f82a1944 Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Wed, 2 May 2018 04:18:40 +0200 Subject: [PATCH] build: enable -Wextra for gcc and clang builds --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53003b6..de9acdf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ link_libraries(ws2_32) if(MSVC) add_compile_options(/Wall /wd4127 /wd4201 /wd4242 /wd4710 /wd4711 /wd4820) else() - add_compile_options(-Wall) + add_compile_options(-Wall -Wextra) endif() file(GLOB SOURCES_SRC src/*.c src/*.h)