[eigen] strange sizeof on windows

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


Hi,

Yesterday with Armin we hit a very very strange issue with MSVC 2008
(vectorization enabled).
The test_sizeof was failing for him, on the first subtest (Matrix<float,1,1>).
It turned out that he had sizeof(Matrix<float,1,1>)=8, sizeof(float)=4.

What can possibly have happened?
I've been thinking about possible bugs in the logic of
ei_matrix_storage but that wouldn't be compiler-dependent and of
course I don't have this issue here with gcc...

Cheers,
Benoit

---


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