[eigen] warning: 'register' storage class specifier is deprecated

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


Xcode 5.1b4 includes a new version of clang, Apple build 5.0 and higher. It's emitting some warnings:

eigen/Eigen/src/Core/arch/SSE/PacketMath.h:510:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register int aux0 = aux[0]<aux[1] ? aux[0] : aux[1];
  ^~~~~~~~~
eigen/Eigen/src/Core/arch/SSE/PacketMath.h:511:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register int aux2 = aux[2]<aux[3] ? aux[2] : aux[3];
  ^~~~~~~~~
eigen/Eigen/src/Core/arch/SSE/PacketMath.h:531:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register int aux0 = aux[0]>aux[1] ? aux[0] : aux[1];
  ^~~~~~~~~
eigen/Eigen/src/Core/arch/SSE/PacketMath.h:532:3: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
  register int aux2 = aux[2]>aux[3] ? aux[2] : aux[3];
  ^~~~~~~~~

eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h:82:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
    register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
    ^~~~~~~~~
eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h:83:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
    register const Scalar* EIGEN_RESTRICT A1 = lhs + (j+1)*lhsStride;
    ^~~~~~~~~
eigen/Eigen/src/Core/products/SelfadjointMatrixVector.h:150:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]
    register const Scalar* EIGEN_RESTRICT A0 = lhs + j*lhsStride;
    ^~~~~~~~~


-- 
Rick



Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail



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