Patch: FYI: libgcj and no-deprecated in makefile
Tom Tromey
tromey@redhat.com
Mon Mar 10 17:26:00 GMT 2003
I'm checking this in to the trunk.
We weren't passing -Wno-deprecated to the compiler when building the
.class files. This fixes the problem.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt.
* Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated.
(JC1FLAGS): Removed -Wno-deprecated.
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libjava/Makefile.am,v
retrieving revision 1.284
diff -u -r1.284 Makefile.am
--- Makefile.am 3 Mar 2003 14:36:48 -0000 1.284
+++ Makefile.am 10 Mar 2003 17:24:26 -0000
@@ -72,7 +72,7 @@
## The compiler with whatever flags we want for both -c and -C
## compiles.
-GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8
+GCJ_WITH_FLAGS = $(GCJ) --encoding=UTF-8 -Wno-deprecated
GCJCOMPILE = $(LIBTOOL) --tag=GCJ --mode=compile $(GCJ_WITH_FLAGS) -fclasspath= -fbootclasspath=$(here) $(JC1FLAGS) -MD -MT $@ -MF $(@:.lo=.d) -c
GCJLINK = $(LIBTOOL) --tag=GCJ --mode=link $(GCJ) -L$(here) $(JC1FLAGS) $(LDFLAGS) -o $@
@@ -105,7 +105,7 @@
endif
JCFLAGS = -g
-JC1FLAGS = @LIBGCJ_JAVAFLAGS@ -Wno-deprecated $(GCJFLAGS)
+JC1FLAGS = @LIBGCJ_JAVAFLAGS@ $(GCJFLAGS)
LIBFFIINCS = @LIBFFIINCS@
More information about the Java-patches
mailing list