Code: typedef double Real; typedef ::Eigen::Matrix< Real, ::Eigen::Dynamic, ::Eigen::Dynamic > Matrix; Matrix mat; // ... ::Eigen::JacobiSVD< Matrix > svd(mat, ::Eigen::ComputeFullU | ::Eigen::ComputeFullV); Error: 1>d:\eigen\include\eigen3\eigen\src\core\products\generalblockpanelkernel.h(1750): error C4789: Der Puffer 'kernel' mit der Größe von 8 Bytes wird überlaufen; 8 Bytes werden ab Offset 24 geschrieben.
Revision: 6655 Changeset: 06f163b5221f14a429abf35a2b5cd6576e2ef431 [06f163b5221f]
Created attachment 547 [details] workaround This error is usually only a warning, so compiling without too aggressive flags should work and run fine because this part won't be executed in your case. I'm too lazy to turn this into a true compile-time if, so what about the attached workaround? (I cannot check it myself)
Thank you, your patch is working. Btw, it is not only a VS2012 problem. I can reproduce this error with VS2010 and VS2013, too. Which flags should I deactivate?
https://bitbucket.org/eigen/eigen/commits/15a1f67a26ea/
-- 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/945.