This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gcjx] Patch: FYI: fix the build


I'm checking this in on the gcjx branch.

At least with the FC4 gcc I need this patch to build gcjx.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* model/invoke.cc (visit): Added missing 'template<>'s.

Index: model/invoke.cc
===================================================================
RCS file: /cvs/gcc/gcc/gcjx/model/Attic/invoke.cc,v
retrieving revision 1.1.2.6
diff -u -r1.1.2.6 invoke.cc
--- model/invoke.cc 13 Oct 2005 06:28:55 -0000 1.1.2.6
+++ model/invoke.cc 14 Oct 2005 19:05:00 -0000
@@ -625,6 +625,7 @@
 template class model_generic_invocation<model_new>;
 template class model_generic_invocation<model_new_primary>;
 
+template<>
 void
 model_generic_invocation<model_type_qualified_invocation>::visit (visitor *v)
 {
@@ -632,6 +633,7 @@
                                actual_type_params);
 }
 
+template<>
 void
 model_generic_invocation<model_super_invocation>::visit (visitor *v)
 {
@@ -639,12 +641,14 @@
                                actual_type_params);
 }
 
+template<>
 void
 model_generic_invocation<model_this_invocation>::visit (visitor *v)
 {
   v->visit_generic_invocation (this, method, arguments, actual_type_params);
 }
 
+template<>
 void
 model_generic_invocation<model_new>::visit (visitor *v)
 {
@@ -652,6 +656,7 @@
                                actual_type_params);
 }
 
+template<>
 void
 model_generic_invocation<model_new_primary>::visit (visitor *v)
 {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]