]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Modified the explicit instantiations of FEValuesMap to circumvent
authoroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Jan 2006 11:23:35 +0000 (11:23 +0000)
committeroliver <oliver@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Jan 2006 11:23:35 +0000 (11:23 +0000)
a problem with the Apple gcc3.3.

git-svn-id: https://svn.dealii.org/trunk@12045 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/fe/hp_fe_values.cc

index 89d711a596933719ad68d5591a0a792b9feaea6b..6c059a0eb0f8094985ac4e2ad17a1771cf47799d 100644 (file)
@@ -248,15 +248,9 @@ namespace hp
   }
 
 
-
-
 // explicit instantiations
   namespace internal
   {
-    template class FEValuesMap<deal_II_dimension,FEValues<deal_II_dimension> >;
-    template class FEValuesMap<deal_II_dimension,FEFaceValues<deal_II_dimension> >;
-    template class FEValuesMap<deal_II_dimension,FESubfaceValues<deal_II_dimension> >;
-
     template class FEValuesBase<deal_II_dimension,deal_II_dimension>;
 #if deal_II_dimension >= 2
     template class FEValuesBase<deal_II_dimension,deal_II_dimension-1>;
@@ -268,5 +262,11 @@ namespace hp
   template class FEFaceValues<deal_II_dimension>;
   template class FESubfaceValues<deal_II_dimension>;
 #endif
-  
 }
+
+// Putting the following explicit instantiations into the brackets 
+// of the appropriate namespace somehow causes problems with the 
+// Apple gcc3.3. Therefore these are separated.
+template class hp::internal::FEValuesMap<deal_II_dimension,FEValues<deal_II_dimension> >;
+template class hp::internal::FEValuesMap<deal_II_dimension,FEFaceValues<deal_II_dimension> >;
+template class hp::internal::FEValuesMap<deal_II_dimension,FESubfaceValues<deal_II_dimension> >;

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.