better fix for gcc 4.6.0 / ptrdiff_t, as suggested by Benoit

This commit is contained in:
Thomas Capricelli
2011-05-05 18:48:18 +02:00
parent a18a1be42d
commit 883219041f
6 changed files with 9 additions and 7 deletions

View File

@@ -241,6 +241,8 @@ inline static const char *SimdInstructionSetsInUse(void) {
// we use size_t frequently and we'll never remember to prepend it with std:: everytime just to
// ensure QNX/QCC support
using std::size_t;
// gcc 4.6.0 wants std:: for ptrdiff_t
using std::ptrdiff_t;
/** \defgroup Core_Module Core module
* This is the main module of Eigen providing dense matrix and vector support