[eigen] g++ -Wshadow warnings

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


Does eigen wish to support the -Wshadow flag on the g++ compiler ?

With eigen 3.2.0 and g++ 4.8.2 I get:

In member function
void Eigen::internal::variable_if_dynamic<T, -1>::setValue(T)’:
/home/bradbell/prefix/eigen/include/Eigen/src/Core/util/XprHelper.h:65:28:
warning: declaration of ‘value’ shadows a member of 'this' [-Wshadow]
void setValue(T value) { m_value = value; }



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