This bugzilla service is closed. All entries have been migrated to https://gitlab.com/libeigen/eigen
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: 2019-12-04 13:14 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?
Comment 1 Nobody 2019-12-04 13:14:03 UTC
-- 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.

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