From 1548a6c606be5f759f3ccc94b901c3a2db889dbe Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Tue, 17 May 2011 13:55:27 +0200 Subject: [PATCH] Makefile: Place -Wno-sign-compare _after_ -Wall. Without this, clang still complains about comparisons between signed and unsigned variables which produces lots of noise. --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7e6287e0..7a23832b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -19,9 +19,9 @@ codename := nested assignment GIT_VERSION := $(shell ./GIT-VERSION-GEN git-version.h) -DEBUG_CPPFLAGS += -Wno-sign-compare -g -Wunused -Wundef -W +DEBUG_CPPFLAGS += -g -Wunused -Wundef -W DEBUG_CPPFLAGS += -Wredundant-decls -DEBUG_CPPFLAGS += -Wall +DEBUG_CPPFLAGS += -Wall -Wno-sign-compare DEBUG_CPPFLAGS += -Wformat-security DEBUG_CPPFLAGS += -Wmissing-format-attribute # produces false positives -- 2.39.2