RE: [eigen] Problems compiling 3.0.2 tests on VS2008 |
[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]
Yes, a new release with working test suite would be nice. However, after having fixed the min/max things locally (I can provide a patch if you like) I now face another problem: My Visual Studio 2008 SP1 exits with internal compiler errors for quite some tests when I try to compile them in the "Release|x64" mode, for example the triangular_5 test. Attached to this mail, you can find the output of VS 2008 for this project. Right now, I am trying to compile the full test suite again to see which tests fail. Interestingly, the triangular_5 test fails for all 3.0 releases. Does anybody else encounter such problems? In Debug mode and in 32bit mode, the tests compile fine.... Regards, Michael -----Original Message----- From: Listengine [mailto:listengine@xxxxxxxxxxxxxxxxx] On Behalf Of Benoit Jacob Sent: Sonntag, 11. September 2011 15:28 To: eigen@xxxxxxxxxxxxxxxxxxx Subject: Re: [eigen] Problems compiling 3.0.2 tests on VS2008 We should release 3.0.3 with this fix, shouldn't we? Benoit 2011/8/30 Schmidt, Michael <Michael.Schmidt@xxxxxxxxxxxxxxxxxxx>: > Dear all, > > > > I just tried to compile the Eigen-Tests for the 3.0.2 tag and I got > compilation errors for about 100 out of the ~550 tests. I didn't read > all of them, but at least the majority seems to be related to the use > of min/max macros, like this one: > > > > 14>..\..\eigen3.0\test\sparse_basic.cpp(36) : error C2039: > 'please_protect_your_max_with_parentheses' : is not a member of 'std' > > 14> ..\..\eigen3.0\test\sparse_basic.cpp(277) : see reference > 14>to > function template instantiation 'void > sparse_basic<Eigen::SparseMatrix<_Scalar>>(const SparseMatrixType &)' > being compiled > > 14> with > > 14> [ > > 14> _Scalar=std::complex<double>, > > 14> > 14>SparseMatrixType=Eigen::SparseMatrix<std::complex<double>> > > 14> ] > > 14>..\..\eigen3.0\test\sparse_basic.cpp(36) : error C2065: > 'please_protect_your_max_with_parentheses' : undeclared identifier > > > > As far as I can see, these errors are fixed in the tip version already (e..g. > in the aforementioned sparse_basic.cpp) but NOT in the 3.0.2 branch. > Is it possible that there was some kind of an incomplete merge to the 3.0 branch? > I'm not very familiar with Mercurial yet, so I have some difficulties > follow all the commits/merges. > > > > Best regards, Michael
Attachment:
triangular_5.log
Description: triangular_5.log
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |