#endif
//
-// last known and checked version is 19.00.23026 (VC++ 2015 RTM):
-#if (_MSC_VER > 1900)
+// tjhei: taken from boost git repo
+// last known and checked version is 19.10.24629 (VC++ 2017 RC):
+#if (_MSC_VER > 1910)
# if defined(BOOST_ASSERT_CONFIG)
# error "Unknown compiler version - please run the configure tests and report the results"
# else
friend struct dealii::internal::DoFHandler::Implementation;
friend struct dealii::internal::DoFHandler::Policy::Implementation;
- // explicitly check for sensible template arguments
+ // explicitly check for sensible template arguments, but not on windows
+ // because MSVC creates bogus warnings during normal compilation
#ifdef DEAL_II_WITH_CXX11
+#ifndef DEAL_II_MSVC
static_assert (dim<=spacedim,
"The dimension <dim> of a DoFHandler must be less than or "
"equal to the space dimension <spacedim> in which it lives.");
#endif
+#endif
};
friend class FESubfaceValues<dim,spacedim>;
friend class FESystem<dim,spacedim>;
- // explicitly check for sensible template arguments
+ // explicitly check for sensible template arguments, but not on windows
+ // because MSVC creates bogus warnings during normal compilation
#ifdef DEAL_II_WITH_CXX11
+#ifndef DEAL_II_MSVC
static_assert (dim<=spacedim,
"The dimension <dim> of a FiniteElement must be less than or "
"equal to the space dimension <spacedim> in which it lives.");
#endif
+#endif
};
template <typename>
friend class dealii::internal::Triangulation::TriaObjects;
- // explicitly check for sensible template arguments
+ // explicitly check for sensible template arguments, but not on windows
+ // because MSVC creates bogus warnings during normal compilation
#ifdef DEAL_II_WITH_CXX11
+#ifndef DEAL_II_MSVC
static_assert (dim<=spacedim,
"The dimension <dim> of a Triangulation must be less than or "
"equal to the space dimension <spacedim> in which it lives.");
#endif
+#endif
};