Skip to content

Eigen warnings with gcc 4.7.2 and above #247

@mparsani

Description

@mparsani

Compiling the kernel with gcc 4.7.2 and above leads to many warnings related to eigen, e.g.
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/include/Eigen/src/Core/DenseBase.h: In instantiation of ‘class Eigen::DenseBase<Eigen::Matrix<double, 2, 12> >’:
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/include/Eigen/src/Core/MatrixBase.h:61:34: required from ‘class Eigen::MatrixBase<Eigen::Matrix<double, 2, 12> >’
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/include/Eigen/src/Core/PlainObjectBase.h:52:7: required from ‘class Eigen::PlainObjectBase<Eigen::Matrix<double, 2, 12> >’
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/include/Eigen/src/Core/Matrix.h:140:7: required from ‘class Eigen::Matrix<double, 2, 12>’
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/cf3/mesh/Integrators/GaussImplementation.hpp:317:3: required from here
/scratch/home0/pmatteo/research/workspace/codes/coolfluid3/kernel/include/Eigen/src/Core/DenseBase.h:103:10: warning: enumeral mismatch in conditional expression: ‘Eigen::internal::size_at_compile_time<2, 12>::’ vs ‘Eigen::internal::traits<Eigen::Matrix<double, 2, 12> >::’ [-Wenum-compare]

It seems it is an Eigen's issue which has been fixed in the 3.1.1 version (http://listengine.tuxfamily.org/lists.tuxfamily.org/eigen/2012/10/msg00066.html)
Is there any drawback if Eiegn will be updated in kernel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions