[eigen] Compilation errors introduced by recent changes. (aligned stl types & MatrixType rename)

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

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."
The error is: error C2719: '_Val': formal parameter with __declspec(align('16')) won't be aligned... and it refers me to line 870 of "vector". 

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 complain of:
src/Core/util/
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
etc.

The 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).
--eamon@xxxxxxxxxxxx - Tel#:+31-6-15142163


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/