From 1e63defb1c3cabad7d83b502c335376c464d1cb5 Mon Sep 17 00:00:00 2001 From: cancel Date: Mon, 26 Nov 2018 09:37:44 +0900 Subject: [PATCH] Change incompatible-pointer-types warning to error --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 86a9067..9bec092 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -basic_flags := -std=c99 -pipe -Wall -Wpedantic -Wextra -Werror=implicit-function-declaration -Wconversion -D_XOPEN_SOURCE_EXTENDED=1 +basic_flags := -std=c99 -pipe -Wall -Wpedantic -Wextra -Werror=implicit-function-declaration -Werror=incompatible-pointer-types -Wconversion -D_XOPEN_SOURCE_EXTENDED=1 debug_flags := -DDEBUG -ggdb sanitize_flags := -fsanitize=address -fsanitize=undefined # note: -fsanitize=leak not available on at least Mac 10.12