cannot compile libgcj
Alexandre Petit-Bianco
apbianco@cygnus.com
Thu Sep 9 17:40:00 GMT 1999
Tom Tromey writes:
> Per> java/lang/reflect/AccessibleObject.h:17: use of class template `template <class T> JArray<T>' as expression
> Per> java/lang/reflect/AccessibleObject.h:17: parse error before `:'
>
> Try the appended patch.
And then you'll probably need this one. It might get you there but I'd
like to understand more about what happend in the rest of gcc before I
check it in.
./A
Thu Sep 9 17:33:28 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
* class.c (finish_class): We're now outside a valid method
declaration. Tell the rest of gcc so.
Index: class.c
===================================================================
RCS file: /cvs/egcs/egcs/gcc/java/class.c,v
retrieving revision 1.44
diff -u -p -r1.44 class.c
--- class.c 1999/09/02 21:57:08 1.44
+++ class.c 1999/09/10 00:38:27
@@ -1225,6 +1225,7 @@ finish_class ()
method = TREE_CHAIN (method);
}
+ current_function_decl = NULL_TREE;
make_class_data (current_class);
register_class ();
rest_of_decl_compilation (TYPE_NAME (current_class), (char*) 0, 1, 0);
More information about the Java
mailing list