Patchwork get rid of "compare between signed and unsigned" warnings

login
register
mail settings
Submitter Sebastian Siewior
Date Feb. 11, 2009, 9:05 a.m.
Message ID <20090211090532.GB32207@www.tglx.de>
Download mbox | patch
Permalink /patch/22911/
State New
Headers show

Comments

Sebastian Siewior - Feb. 11, 2009, 9:05 a.m.
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(-)

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