From patchwork Wed Feb 11 09:05:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: get rid of "compare between signed and unsigned" warnings Date: Tue, 10 Feb 2009 23:05:32 -0000 From: Sebastian Siewior X-Patchwork-Id: 22911 Message-Id: <20090211090532.GB32207@www.tglx.de> To: Artem Bityutskiy Cc: linux-mtd@lists.infradead.org Artem Bityutskiy said once: |I mean, IMO most of these warnings are not really sane, and cleaning |that up just adds mess - you stop understanding why is something signed |or unsigned :-) Signed-off-by: Sebastian Andrzej Siewior --- common.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common.mk b/common.mk index 65fc1cc..0e8c62b 100644 --- a/common.mk +++ b/common.mk @@ -2,7 +2,7 @@ CC := $(CROSS)gcc AR := $(CROSS)ar RANLIB := $(CROSS)ranlib CFLAGS ?= -O2 -g -CFLAGS += -Wall -Wwrite-strings -W -D_FILE_OFFSET_BITS=64 +CFLAGS += -Wall -Wextra -Wwrite-strings -Wno-sign-compare -D_FILE_OFFSET_BITS=64 DESTDIR ?= /usr/local PREFIX=/usr