From c4feb1361f4802f68da7d5cd099288c868e3a4a2 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 21 Jan 2014 16:56:37 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5