[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix CanonicalCentering missing pre-instantiation
From: |
Richard Guenther |
Subject: |
[PATCH] fix CanonicalCentering missing pre-instantiation |
Date: |
Tue, 11 Nov 2003 14:10:36 +0100 (CET) |
Hi!
Intel icpc 8.0 moans about missing canonical centering constructor during
linking. In fact it is correct, that it is not instantiated explicitly.
So I think the following patch is correct.
Tested with Intel icpc 8.0 on ia32 for the Field/Centerings test.
Ok?
Richard.
===== FieldCentering.cmpl.cpp 1.5 vs edited =====
--- 1.5/r2/src/Field/FieldCentering.cmpl.cpp Fri Jan 24 10:35:52 2003
+++ edited/FieldCentering.cmpl.cpp Tue Nov 11 14:05:40 2003
@@ -347,6 +347,13 @@
}
+// Pre-instantiate canonical centerings
+
+template class CanonicalCentering<1>;
+template class CanonicalCentering<2>;
+template class CanonicalCentering<3>;
+
+
// ACL:rcsinfo
// ----------------------------------------------------------------------
// $RCSfile: FieldCentering.cmpl.cpp,v $ $Author: pooma $
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] fix CanonicalCentering missing pre-instantiation,
Richard Guenther <=