mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Added the Array include's warning for GCC.
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user