Added the Array include's warning for GCC.

This commit is contained in:
Hauke Heibel 2010-01-20 21:36:50 +01:00
parent 26df0609e2
commit ecc71abdda

View File

@ -1,10 +1,12 @@
#ifndef EIGEN_ARRAY_MODULE_H
#define EIGEN_ARRAY_MODULE_H
// No idea how to do that per file for gcc...
#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
#include "Core"