diff mbox

get rid of "compare between signed and unsigned" warnings

Message ID 20090211090532.GB32207@www.tglx.de
State Accepted
Commit c4c6a59eb11db9b38c86bc26575a23dbac2e616f
Headers show

Commit Message

Sebastian Andrzej Siewior Feb. 11, 2009, 9:05 a.m. UTC
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@linutronix.de>
---
 common.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

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