classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] [generics] Disable some ecj warnings


From: Mark Wielaard
Subject: [cp-patches] [generics] Disable some ecj warnings
Date: Wed, 02 Nov 2005 21:29:28 +0100

Hi,

We discussed the 2000+ warning on the generics branch on irc and
concluded that it is better for our first public generics release to
have not that many warnings visible. After the release we can remove the
flags one by one and fix the warnings. It also sets the version so that
it is clear that this is the generics branch.

2005-11-02  Mark Wielaard  <address@hidden>

    * configure.ac (AC_INIT): Set version to 0.19-generics.
    * lib/Makefile.am: Add typeHiding, unchecked, unused and varargsCast
    to ECJ compile warning rule.

Committed,

Mark
Index: configure.ac
===================================================================
RCS file: /cvsroot/classpath/classpath/configure.ac,v
retrieving revision 1.43.2.17
diff -u -r1.43.2.17 configure.ac
--- configure.ac        2 Nov 2005 00:43:15 -0000       1.43.2.17
+++ configure.ac        2 Nov 2005 20:27:47 -0000
@@ -6,7 +6,7 @@
 dnl define([AC_CACHE_LOAD], )dnl
 dnl define([AC_CACHE_SAVE], )dnl
 
-AC_INIT([GNU Classpath],[0.19-pre],address@hidden,[classpath])
+AC_INIT([GNU Classpath],[0.19-generics-pre],address@hidden,[classpath])
 AC_CONFIG_SRCDIR(java/lang/System.java)
 
 AC_CANONICAL_TARGET
Index: lib/Makefile.am
===================================================================
RCS file: /cvsroot/classpath/classpath/lib/Makefile.am,v
retrieving revision 1.63.2.16
diff -u -r1.63.2.16 Makefile.am
--- lib/Makefile.am     2 Nov 2005 00:44:05 -0000       1.63.2.16
+++ lib/Makefile.am     2 Nov 2005 20:27:48 -0000
@@ -14,7 +14,7 @@
 
 # handling source to bytecode compiler programs like gcj, jikes  and kjc
 if FOUND_ECJ
-JAVAC = $(ECJ) -1.5 -warn:-deprecation,serial,unusedImport -proceedOnError 
-bootclasspath '' -classpath $(compile_classpath) -d . @classes
+JAVAC = $(ECJ) -1.5 
-warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast 
-proceedOnError -bootclasspath '' -classpath $(compile_classpath) -d . @classes
 else
 if FOUND_GCJ
 ## This should never be used when gcj is the compiler.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]