mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 03:39:01 +08:00
Added the Array include's warning for GCC.
This commit is contained in:
parent
26df0609e2
commit
ecc71abdda
@ -1,10 +1,12 @@
|
|||||||
#ifndef EIGEN_ARRAY_MODULE_H
|
#ifndef EIGEN_ARRAY_MODULE_H
|
||||||
#define EIGEN_ARRAY_MODULE_H
|
#define EIGEN_ARRAY_MODULE_H
|
||||||
|
|
||||||
// No idea how to do that per file for gcc...
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
#pragma message("The inclusion of Eigen/Array is deprecated. \
|
#pragma message("The inclusion of Eigen/Array is deprecated. \
|
||||||
The array module is available as soon as Eigen/Core is included.")
|
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
|
#endif
|
||||||
|
|
||||||
#include "Core"
|
#include "Core"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user