mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-10 23:21:47 +08:00
more useful error message about the including order
This commit is contained in:
parent
7a44945a16
commit
65724def70
@ -2,7 +2,7 @@
|
|||||||
#define EIGEN_STDVECTOR_MODULE_H
|
#define EIGEN_STDVECTOR_MODULE_H
|
||||||
|
|
||||||
#if defined(_GLIBCXX_VECTOR) || defined(_VECTOR_)
|
#if defined(_GLIBCXX_VECTOR) || defined(_VECTOR_)
|
||||||
#error you must include Eigen/StdVector before std::vector
|
#error you must include <Eigen/StdVector> before <vector>. Also note that <Eigen/Sparse> includes <vector>, so it must be included after <Eigen/StdVector> too.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef EIGEN_GNUC_AT_LEAST
|
#ifndef EIGEN_GNUC_AT_LEAST
|
||||||
|
Loading…
x
Reference in New Issue
Block a user