When eigen is being included in a VC++ project, it works, but generates a lot of warnings. For instance, I #include <Eigen/Dense> and get this warning: 1>c:\tools\matrixlib\eigen-eigen-3.2.1\eigen\src\core\util\memory.h(926): warning C4793: 'Eigen::internal::queryCacheSizes' : function compiled as native : 1> Found an intrinsic not supported in managed code and a huge number of these warnings: 1>c:\tools\matrixlib\eigen-eigen-3.2.1\eigen\src\core\redux.h(216): warning C4793: 'Eigen::internal::redux_impl<Eigen::internal::scalar_sum_op<double>,Eigen::CwiseUnaryOp<Eigen::internal::scalar_abs2_op<double>,Eigen::CwiseBinaryOp<Eigen::internal::scalar_difference_op<double>,Eigen::Matrix<double,-1,-1,0,-1,-1> const ,Eigen::Matrix<double,-1,-1,0,-1,-1> const > const >,3,0>::run' : function compiled as native : 1> Aligned data types not supported in managed code 1>c:\tools\matrixlib\eigen-eigen-3.2.1\eigen\src\core\densecoeffsbase.h(522): warning C4793: 'Eigen::DenseCoeffsBase<Eigen::Block<Eigen::Matrix<double,-1,-1,0,-1,-1>,-1,-1,0>,1>::copyPacket<Eigen::Matrix<double,-1,-1,0,-1,-1>,1,0>' : function compiled as native : 1> Aligned data types not supported in managed code 1>c:\tools\matrixlib\eigen-eigen-3.2.1\eigen\src\core\selfcwisebinaryop.h(113): warning C4793: 'Eigen::SelfCwiseBinaryOp<Eigen::internal::scalar_product_op<double,double>,Eigen::Block<Eigen::Matrix<double,-1,-1,0,-1,-1>,-1,-1,0>,Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>,Eigen::Matrix<double,-1,-1,0,-1,-1> > >::copyPacket<Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>,Eigen::Matrix<double,-1,-1,0,-1,-1> >,1,0>' : function compiled as native : 1> Aligned data types not supported in managed code and more... If these warnings aren't significant for the correctness of the result of Eigen, couldn't they be handled to avoid generating warnings?
-- GitLab Migration Automatic Message -- This bug has been migrated to gitlab.com's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.com/libeigen/eigen/issues/794.