Registered Member
|
On an Ubuntu 11.04 amd_64 system, using g++ 4.5.2 I get warnings about the use of long long int in the const declarations
Eigen/src/LU/arch/Inverse_SSE.h:185:5: warning: ISO C++ 1998 does not support ‘long long’ Is there a way to circumvent this? For some of our code we need to specify the -std=c++98. In other words, going to -std=c++0x is not an option for us right now. |
Registered Member
|
One possibility is to compile with -Wno-long-long .
|
Registered Member
|
I was thinking more along the lines of using a const __m128d mask as is done in Eigen/src/Core/arch/SSE/Complex.h. It seems to me that the quantities that are declared as long long int are used as __m128d so why not declare them like const __m128d _Sign_NP = _mm_castsi128_pd(_mm_set_epi32(0x80000000,0x0,0x0,0x0)); |
Moderator
|
fixed in default and 3.0 branches.
|
Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar