[eigen] integer types - something's odd...

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


Hi,

I tried to get rid of some of the MSVC warning since we are once again
hitting the 50 warnings limit and the dashboard is at its limits. ;)

Well, by trying to do that, I stumbled over something strange in the
integer_types test. I seems natural that it generates a bunch of
warnings since in some cases we are negating unsigned values. First, I
was surprised that the test was anyways working and then I tried to
run it in debug mode and I got an unaligned memory assertion on

  m3 = m2; m3 *= s1;
  VERIFY_IS_EQUAL(m3,                      s1*m2);

while calling

  CALL_SUBTEST_1( integer_types(Matrix<unsigned long, 3, 4>()) );

I tried to reproduce this in a separate program but failed. Does
anybody have an idea?

- Hauke



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