[PATCH] get rid of "compare between signed and unsigned" warnings
Sebastian Andrzej Siewior
bigeasy at linutronix.de
Wed Feb 11 04:05:32 EST 2009
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 <bigeasy at linutronix.de>
---
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
--
1.5.6.5
More information about the linux-mtd
mailing list