|[eigen] Compilation errors introduced by recent changes. (aligned stl types & MatrixType rename)|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] Compilation errors introduced by recent changes. (aligned stl types & MatrixType rename)
- From: Eamon Nerbonne <eamon.nerbonne@xxxxxxxxx>
- Date: Wed, 21 Apr 2010 17:37:26 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type; bh=05h09bn9nQiApp3Cjyg1/ywigE5ajIHuV1I0Xp7UvTA=; b=qq9e5DzeaCJoJITUL3/+mCQTWnLdYAhb6iP6h13Wvv5L3ZXTl9xiUW+UQEaLfacVyB JV838Ul4g8lmy1Hg3u5vmOdUFU8Pa4LEiB4fZRvjB4MHKdaY2N7tpH0pfBsOsvjF2aNM V8XZtLJ20ttKcYUWhfqOj/gSZUd3eYZ6UsZT8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Y8rGh6AriboPX5ySi0ObTBIIfJVY1d1AV8nHSYSQ24skalPpUSP5RjKSDPpRSxh4ey B4Zv7IbFc55Sps8HtTXWFeqbYdD1tb1I36FX51LIJO5fNogf3IIE94dQhh1/JmTlL+9n 6DctmHRmIbwgKJ379Eb3XkPsDnaAtVBvBpDaQ=
I'm seeing two probably disctinct compiler errors on VS 2010 RC.
The first was introduced in change labelled "Added support for STL lists with aligned Eigen types."
error is: error C2719: '_Val': formal parameter with
__declspec(align('16')) won't be aligned... and it refers me to line 870
Triggering the error is simply a matter of declaring an stl vector
of an aligned data type, e.g. std::vector<Vector2d> stlvec;
I hope this isn't a difference between RC and RTM - it'll be a while before I get around to upgrading.
The second error I'm seeing occurs after the MatrixType rename -
that triggers a hundred errors even on fairly short programs; these
ForwardDeclarations.h(63): error C2065: 'MatrixType' : undeclared identifier
src/Core/VectorBlock.h(64) : see reference to class template instantiation 'Eigen::ei_traits<Eigen::VectorBlock<VectorType,Size>>' being compiled
error just doesn't make much sense to me, to be honest - I fiddled a
bit with the definitions, but nothing much seems to happen.
Both errors don't occur in GCC (4.5).