New user self-registration is disabled due to spam. Please email eigen-core-team @ lists.tuxfamily.org if you need an account.
Before reporting a bug, please make sure that your Eigen version is up-to-date!
Bug 794 - Lots of warnings on VC++
Summary: Lots of warnings on VC++
Status: NEW
Alias: None
Product: Eigen
Classification: Unclassified
Component: General (show other bugs)
Version: 3.2
Hardware: x86 - general Windows
: Normal Unknown
Assignee: Nobody
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-17 12:18 UTC by galmok
Modified: 2014-04-17 12:18 UTC (History)
2 users (show)



Attachments

Description galmok 2014-04-17 12:18:22 UTC
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?

Note You need to log in before you can comment on or make changes to this bug.