From dc858f23a0f749b94bc0bd23ca592bd99997e3b1 Mon Sep 17 00:00:00 2001 From: Frederic Cambus Date: Sun, 26 Jul 2015 22:38:26 +0200 Subject: [PATCH] Enabling the '-Wextra' flag, in order to catch more stuff --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f98843d..a413659 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,7 +4,7 @@ project (ansilove C) find_library(LIB_GD NAMES gd REQUIRED) include_directories(/usr/local/include) -add_definitions(-Wall -std=c99 -pedantic) +add_definitions(-Wall -Wextra -std=c99 -pedantic) add_executable(ansilove src/main.c src/albinfonts.c src/ansilove.c src/explode.c src/filesize.c src/strtolower.c src/substr.c)