From 66a2ffa9bdcaf97fcc7dbcf0cb882d58f49a7483 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Thu, 20 Jan 2011 08:12:24 -0500 Subject: Completely disable Eigen/Array in Eigen3; completely enable in EIGEN2_SUPPORT. --- Eigen/Array | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'Eigen/Array') 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" -- cgit v1.2.3