Re: [eigen] Problems compiling 3.0.2 tests on VS2008 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Problems compiling 3.0.2 tests on VS2008
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Sun, 11 Sep 2011 09:28:24 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Pf8VTeSkfhFskHorDO6xzXmk185few/PmmmnZ8SKneE=; b=ZErENRu2MkRAcw7N+Y7fu7GPZxdeR+DbGFoySlhJsd87+0KBltBtpkU2VNZ9nwLUSI K39JqrTqkYhxvfpnKgLWpL2NiQLDrz1YGa17GSim1WVCelh2NX28I0DjJWIxOWanP9Lj k+dyatidYdhMqC6fW261TeAesSthkj7mBbSyM=
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 to
> function template instantiation 'void
> sparse_basic<Eigen::SparseMatrix<_Scalar>>(const SparseMatrixType &)' being
> compiled
>
> 14> with
>
> 14> [
>
> 14> _Scalar=std::complex<double>,
>
> 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