From 69aec66917be057ad3a4c86189514d07bcc5bc30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophyl=20Hoguet?= Date: Thu, 10 Feb 2022 22:30:06 +0100 Subject: [PATCH] update warning => error --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc3a020..fac58cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ project (game_text) include(CTest) #positionne la variable -set(CMAKE_C_FLAGS "-std=c99 -g -Wall") +set(CMAKE_C_FLAGS "-std=c99 -g -Wall -Wextra -Wpedantic -Werror") #définit le nom du programme ainsi que #ses sources