运行某C++代码时报如下错误
/include/Eigen/src/Core/DenseStorage.h:109: Eigen::internal::plain_array::plain_array() [with T = float; int Size = 64; int MatrixOrArrayOptions = 1]: Assertion `(reinterpret_cast (eigen_unaligned_array_assert_workaround_gcc47(array)) & (15)) == 0 && "this assertion is explained here: " "http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html" " **** READ THIS WEB PAGE !!! ****"' failed.
于是根据提示看这个网页:Eigen: Explanation of the assertion on unaligned arrays
我直接改成C++17,错误解决。



