From: Andre Noll Date: Tue, 21 Jan 2014 15:56:37 +0000 (+0100) Subject: Silence clang warnings. X-Git-Tag: v0.1.6~20 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=c4feb1361f4802f68da7d5cd099288c868e3a4a2;p=dss.git Silence clang warnings. The -Wno-sign-compare option is supposed to not print the noisy warnings for comparisons between signed and unsigned values. Currently, in DEBUG_CFLAGS this option is followed by -W which causes clang (but not gcc) to turn on these warnings again. As CFLAGS contains -Wall, the -W option was redundant anyway, so this patch removes it. --- diff --git a/Makefile b/Makefile index 821ccaf..dc57f3d 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: dss man: dss.1 DEBUG_CFLAGS ?= -DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W +DEBUG_CFLAGS += -Wno-sign-compare -g -Wunused -Wundef DEBUG_CFLAGS += -Wredundant-decls CFLAGS ?= CFLAGS += -Os