From: Wolfgang Bangerth Date: Fri, 20 Jan 2023 22:00:40 +0000 (-0700) Subject: Exclude extern declaration from MS VC consideration. X-Git-Tag: v9.5.0-rc1~607^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F14701%2Fhead;p=dealii.git Exclude extern declaration from MS VC consideration. --- diff --git a/include/deal.II/hp/mapping_collection.h b/include/deal.II/hp/mapping_collection.h index 4774d62410..cebbeb132b 100644 --- a/include/deal.II/hp/mapping_collection.h +++ b/include/deal.II/hp/mapping_collection.h @@ -193,6 +193,7 @@ namespace hp extern template struct StaticMappingQ1<2, 3>; extern template struct StaticMappingQ1<3, 3>; +# ifndef _MSC_VER extern template MappingCollection<1, 1> StaticMappingQ1<1, 1>::mapping_collection; extern template MappingCollection<1, 2> @@ -205,6 +206,7 @@ namespace hp StaticMappingQ1<2, 3>::mapping_collection; extern template MappingCollection<3, 3> StaticMappingQ1<3, 3>::mapping_collection; +# endif #endif } // namespace hp