Skip to content

removed EIGEN_HAS_CXX11_* and redundant EIGEN_COMP_CXXVER checks

This MR removes conditional compilation for C++11 features CONTAINERS, RVALUE_REFERENCES, NOEXCEPT, ATOMIC and OVERRIDE. Essentially the feature macros which had a simple condition when they are enabled. I have merged the minimum compiler versions from these checks into the this compiler is too old error path. I have also removed explicit checks for EIGEN_COMP_CXXVER and EIGEN_CAX_CPP_VER (which seem to have rather inconsistent spelling) that are always true (false) when we have at least C++11.

Q: What is the #define EIGEN_INCLUDE_TYPE_TRAITS doing in the noexcept part? It seems that it is possible to have EIGEN_HAS_TYPE_TRAITS 0 but still get EIGEN_INCLUDE_TYPE_TRAITS?

#2372 (closed)

Edited by Erik Schultheis

Merge request reports

Loading