Piotr's patch was missing many occurences of size_t. So,

using std::size_t;
This is the only way that we can ensure QCC support in the long term without having to think about it everytime.
This commit is contained in:
Benoit Jacob
2010-02-12 08:58:29 -05:00
parent a76950bdab
commit 37ca4200b2
5 changed files with 31 additions and 27 deletions

View File

@@ -53,7 +53,7 @@ struct ei_matrix_array
#define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(sizemask)
#else
#define EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(sizemask) \
ei_assert((reinterpret_cast<std::size_t>(array) & sizemask) == 0 \
ei_assert((reinterpret_cast<size_t>(array) & sizemask) == 0 \
&& "this assertion is explained here: " \
"http://eigen.tuxfamily.org/dox/UnalignedArrayAssert.html" \
" **** READ THIS WEB PAGE !!! ****");