mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
more useful error message about the including order
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user