harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r674240 - in /harmony/enhanced/classlib/trunk: depends/build/defines.mk depends/build/rules.mk modules/awt/src/main/native/gl/unix/makefile modules/nio_char/src/main/native/niochar/unix/makefile
Date Sat, 05 Jul 2008 20:39:13 GMT
Author: hindessm
Date: Sat Jul  5 13:39:13 2008
New Revision: 674240

URL: http://svn.apache.org/viewvc?rev=674240&view=rev
Log:
Treat warnings as errors on linux as discussed on the dev list.

Modified:
    harmony/enhanced/classlib/trunk/depends/build/defines.mk
    harmony/enhanced/classlib/trunk/depends/build/rules.mk
    harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/makefile
    harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/unix/makefile

Modified: harmony/enhanced/classlib/trunk/depends/build/defines.mk
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/depends/build/defines.mk?rev=674240&r1=674239&r2=674240&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/depends/build/defines.mk (original)
+++ harmony/enhanced/classlib/trunk/depends/build/defines.mk Sat Jul  5 13:39:13 2008
@@ -34,6 +34,7 @@
 EXERPATHPREFIX = -Xlinker -z -Xlinker origin -Xlinker -rpath \
 	-Xlinker \$$ORIGIN/ -Xlinker -rpath-link \
 	-Xlinker
+WARNFLAGS=-Werror
 
 include $(HY_HDK)/build/make/platform/$(HY_PLATFORM).mk
 

Modified: harmony/enhanced/classlib/trunk/depends/build/rules.mk
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/depends/build/rules.mk?rev=674240&r1=674239&r2=674240&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/depends/build/rules.mk (original)
+++ harmony/enhanced/classlib/trunk/depends/build/rules.mk Sat Jul  5 13:39:13 2008
@@ -17,8 +17,8 @@
 # Configuration Makefile
 #
 
-CFLAGS := $(DEFINES) $(INCLUDES) $(OPT) $(CFLAGS)
-CXXFLAGS := $(DEFINES) $(INCLUDES) $(OPT) $(CXXFLAGS)
+CFLAGS := $(DEFINES) $(INCLUDES) $(OPT) $(CFLAGS) $(WARNFLAGS)
+CXXFLAGS := $(DEFINES) $(INCLUDES) $(OPT) $(CXXFLAGS) $(WARNFLAGS)
 EXPFILE = $(notdir $(basename $(DLLNAME))).exp
 
 # Convert $(LIBPATH)libblah.so to -L$(LIBPATH) ... -lblah, also for $(DLLPATH)

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/makefile?rev=674240&r1=674239&r2=674240&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/makefile (original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/native/gl/unix/makefile Sat Jul 
5 13:39:13 2008
@@ -15,6 +15,8 @@
 
 include $(HY_HDK)/build/make/defines.mk
 
+# TODO: Fix the warnings see HARMONY-5885
+WARNFLAGS :=
 
 INCLUDES += -I$(SHARED)common -I$(SHAREDSUB)/include \
             -I/usr/X11R6/include -I/usr/include -Iinclude

Modified: harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/unix/makefile
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/unix/makefile?rev=674240&r1=674239&r2=674240&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/unix/makefile
(original)
+++ harmony/enhanced/classlib/trunk/modules/nio_char/src/main/native/niochar/unix/makefile
Sat Jul  5 13:39:13 2008
@@ -19,6 +19,10 @@
 
 include $(HY_HDK)/build/make/defines.mk
 
+# TODO: Fix the warnings see HARMONY-4959 and
+# http://www.mail-archive.com/dev@harmony.apache.org/msg10469.html 
+WARNFLAGS :=
+
 BUILDFILES = \
   ../shared/CP_1250.o \
   ../shared/CP_1251.o \
@@ -113,4 +117,4 @@
 
 DLLNAME = ../libhycharset.so
 
-include $(HY_HDK)/build/make/rules.mk
\ No newline at end of file
+include $(HY_HDK)/build/make/rules.mk



Mime
View raw message