|Re: [eigen] Problems compiling 3.0.2 tests on VS2008|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Problems compiling 3.0.2 tests on VS2008
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Tue, 13 Sep 2011 16:43:52 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=hwl3m3Ixm6axOOG5gKqZDhFW20E1yEfITOQBnfRPP/k=; b=geZKAqfF59Sxklgz3RnwZIf91+g49KDDMorbH/+R3aYyrK5Mk2d9AG4ErhpUtSNEMh ST8wC9HCP1ViWT9bWR0mnLOTNkmkhR3Q3ke+PMMsFGCvuqnsei9WoR8eMD4vpd+WVQUh YFSPunwoRPxrDG71ESUrr50AmU74VgLG/fbwA=
On Mon, Sep 12, 2011 at 4:45 PM, Schmidt, Michael
> 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)
Actually I already fixed this issue in the 3.0 branch a few days ago.
For the story, I have access to windows images with three different
versions of MSVC but the images are too small to compile all the unit
tests, so it's very tough for me to thoroughly tests MSVC compilers,
whence this mistake in 3.0.2.
> 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...
I cannot reproduce the issue, but I'm calling VC from cygwin via
NMake, I don't know if that can make any difference.
> 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?
> 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
>> function template instantiation 'void
>> sparse_basic<Eigen::SparseMatrix<_Scalar>>(const SparseMatrixType &)'
>> being compiled
>> 14> with
>> 14> [
>> 14> _Scalar=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