Patch to compile gcjx
Mike Emmel
mike.emmel@gmail.com
Mon Nov 28 14:26:00 GMT 2005
My first patch I had to move the class instantions below the the
method defs to get it work. This should not hurt anyone and it fixes
my bug it looks like my particular version of gcc is not capable of
doing the specialization right.
Mike
Index: invoke.cc
===================================================================
--- invoke.cc (revision 107588)
+++ invoke.cc (working copy)
@@ -703,13 +703,6 @@
// Instantiations.
-template class model_generic_invocation<model_method_invocation>;
-template class model_generic_invocation<model_type_qualified_invocation>;
-template class model_generic_invocation<model_super_invocation>;
-template class model_generic_invocation<model_this_invocation>;
-template class model_generic_invocation<model_new>;
-template class model_generic_invocation<model_new_primary>;
-
template<>
void
model_generic_invocation<model_method_invocation>::visit (visitor *v)
@@ -756,3 +749,10 @@
v->visit_generic_invocation (this, method, klass, arguments, simple_name,
type_params, actual_type_params);
}
+
+template class model_generic_invocation<model_method_invocation>;
+template class model_generic_invocation<model_type_qualified_invocation>;
+template class model_generic_invocation<model_super_invocation>;
+template class model_generic_invocation<model_this_invocation>;
+template class model_generic_invocation<model_new>;
+template class model_generic_invocation<model_new_primary>;
More information about the Java
mailing list