more useful error message about the including order

This commit is contained in:
Benoit Jacob 2009-08-20 12:27:01 -04:00
parent 7a44945a16
commit 65724def70

View File

@ -2,7 +2,7 @@
#define EIGEN_STDVECTOR_MODULE_H
#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
#ifndef EIGEN_GNUC_AT_LEAST