x86-64 isn't complete yet and there are a few warnings that will be
eventually solved.

Signed-off-by: Eduard - Gabriel Munteanu <[email protected]>
---
 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b1b20ea..08cebfe 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ endif
 ifeq ($(ARCH),i386)
 override ARCH  = x86
 ARCH_POSTFIX   = _32
+WARNINGS       += -Werror
 ifeq ($(BUILD_ARCH),x86_64)
 ARCH_CFLAGS    += -m32
 TEST           = test
@@ -158,7 +159,7 @@ DEFAULT_CFLAGS      += $(ARCH_CFLAGS) -g -rdynamic 
-std=gnu99 -D_GNU_SOURCE
 # XXX: Temporary hack -Vegard
 DEFAULT_CFLAGS += -DNOT_IMPLEMENTED='fprintf(stderr, "%s:%d: warning: %s not 
implemented\n", __FILE__, __LINE__, __func__)'
 
-WARNINGS       = -Wsign-compare -Wundef -Wall -Wstrict-prototypes 
-Wmissing-declarations -Wmissing-prototypes -Werror -Wformat -Wformat-security
+WARNINGS       += -Wsign-compare -Wundef -Wall -Wstrict-prototypes 
-Wmissing-declarations -Wmissing-prototypes -Wformat -Wformat-security
 DEFAULT_CFLAGS += $(WARNINGS)
 
 OPTIMIZATIONS  += -Os
-- 
1.6.0.6


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have 
the opportunity to enter the BlackBerry Developer Challenge. See full prize 
details at: http://p.sf.net/sfu/blackberry
_______________________________________________
Jatovm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jatovm-devel

Reply via email to