aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Eigen/Array10
-rw-r--r--test/eigen2/CMakeLists.txt1
2 files changed, 2 insertions, 9 deletions
diff --git a/Eigen/Array b/Eigen/Array
index e183006b5..256e2b58f 100644
--- a/Eigen/Array
+++ b/Eigen/Array
@@ -1,14 +1,8 @@
#ifndef EIGEN_ARRAY_MODULE_H
#define EIGEN_ARRAY_MODULE_H
-#ifndef EIGEN_NO_EIGEN2_DEPRECATED_WARNINGS
- #ifdef _MSC_VER
- #pragma message("The inclusion of Eigen/Array is deprecated. \
- The array module is available as soon as Eigen/Core is included.")
- #elif __GNUC__
- #warning "The inclusion of Eigen/Array is deprecated. \
- The array module is available as soon as Eigen/Core is included."
- #endif
+#ifndef EIGEN2_SUPPORT
+ #error The Eigen/Array header does no longer exist in Eigen3. All that functionality has moved to Eigen/Core.
#endif
#include "Core"
diff --git a/test/eigen2/CMakeLists.txt b/test/eigen2/CMakeLists.txt
index c92257224..76758a115 100644
--- a/test/eigen2/CMakeLists.txt
+++ b/test/eigen2/CMakeLists.txt
@@ -2,7 +2,6 @@ add_custom_target(buildtests_eigen2)
add_custom_target(check_eigen2 COMMAND "ctest")
add_dependencies(check_eigen2 buildtests_eigen2)
-add_definitions("-DEIGEN_NO_EIGEN2_DEPRECATED_WARNINGS")
add_definitions("-DEIGEN2_SUPPORT")
# Macro to add a test