From 82dd474e3b7370709c8bd19ad1e2fb42ff96681f Mon Sep 17 00:00:00 2001 From: Sebastian Bauer Date: Mon, 9 Apr 2018 23:24:49 +0200 Subject: [PATCH] Disable -Wbad-function-cast. It produces a lot of useless warnings. --- library/GNUmakefile.os4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/GNUmakefile.os4 b/library/GNUmakefile.os4 index 6fcd170..80c5e62 100644 --- a/library/GNUmakefile.os4 +++ b/library/GNUmakefile.os4 @@ -58,10 +58,10 @@ LOG_COMMAND := WARNINGS := \ -Wall -W -Wpointer-arith -Wsign-compare -Wmissing-prototypes \ - -Wundef -Wbad-function-cast -Wmissing-declarations -Wunused -Wwrite-strings \ + -Wundef -Wmissing-declarations -Wunused -Wwrite-strings \ -Wno-deprecated-declarations \ -# -Wconversion -Wshadow +# -Wconversion -Wshadow -Wbad-function-cast INCLUDES := -Iinclude -I. -I$(SDK_INCLUDE) OPTIONS := -DUSE_64_BIT_INTS -D__USE_INLINE__ -Wa,-mregnames -fno-builtin -fno-common -std=c99 -mcrt=clib2