Re: [eigen] Some compilation warning

[ Thread Index | Date Index | More Archives ]

They have been fixed in the devel branch through a significant refactoring of the usage of the Index type. See:


On Mon, Mar 2, 2015 at 11:42 AM, Mathieu Dutour <mathieu.dutour@xxxxxxxxx> wrote:
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:
/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]

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

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


Mail converted by MHonArc 2.6.19+