[eigen] Some compilation warning

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


Dear all,

why does the number of rows and columns of a matrix is stored as
"long" instead of "unsigned long" or maybe better yet "size_t" ?

When compiling an application using EIGEN with
clang++ -Weverything -std=c++11
I got many EIGEN related warnings.. For example:
SIGN_CONVERSION:
/home/mathieu/opt/eigen/Eigen/src/Core/util/Memory.h:835:26: warning: implicit conversion changes signedness: 'int' to 
'unsigned int' [-Wsign-conversion]
      int ways        = (abcd[1] & 0xFFC00000) >> 22; // B[31:22]

DEPRECATED:
/home/mathieu/opt/eigen/Eigen/src/Core/PlainObjectBase.h:132:5: warning: dynamic exception specifications are deprecated [-Wdeprecated]
    EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)

and some other warnings.
Is there an interest in correcting those?

  Mathieu


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