← Back to team overview

yade-dev team mailing list archive

Eigen warnings during compilation

 

Hi,

there are some warnings in compilation, Eigen-related:

C /home/gladk/dem/yade/current/build-current/plugins11.cpp
In file included from
/home/gladk/dem/yade/current/build-current/plugins11.cpp:3:
/usr/include/eigen2/Eigen/src/Core/Product.h: In static member function
'static Real Shop::kineticEnergy(Scene*, int*)':
/usr/include/eigen2/Eigen/src/Core/Product.h:316: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[1ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[1ul]' was
declared here
/usr/include/eigen2/Eigen/src/Core/Product.h:316: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[2ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[2ul]' was
declared here
/usr/include/eigen2/Eigen/src/Core/Product.h:325: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[3ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[3ul]' was
declared here
/usr/include/eigen2/Eigen/src/Core/Product.h:316: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[5ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[5ul]' was
declared here
/usr/include/eigen2/Eigen/src/Core/Product.h:325: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[6ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[6ul]' was
declared here
/usr/include/eigen2/Eigen/src/Core/Product.h:316: warning:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[7ul]' may be
used uninitialized in this function
/home/gladk/dem/yade/current/yade/pkg/dem/Shop.cpp:204: note:
'mI.Eigen::Matrix<double, 3, 3, 2, 3,
3>::m_storage.Eigen::ei_matrix_storage<double, 9, 3, 3,
2>::m_data.Eigen::ei_matrix_array<double, 9, 2, false>::array[7ul]' was
declared here

is it our fail?

Anton

Follow ups