Lots of warnings when compiling a project using ROOT 5.26.00a

From: Constantin Loizides <loizides_at_MIT.EDU>
Date: Wed, 17 Feb 2010 14:20:57 +0100


Hi all,

on fedora 12, using
gcc version 4.4.3 20100127 (Red Hat 4.4.3-4) (GCC)

I get the following warnings when compiling a project, but not when compiling ROOT 5.26.00a itself.

/opt/root/root_v5-26-00/include/TRefArray.h:117: warning: base class ‘struct std::iterator<std::bidirectional_iterator_tag, TObject*, int, const TObject**, const TObject*&>’ has a non-virtual
/opt/root/root_v5-26-00/include/TMatrixT.h:283: warning: user-defined ‘TMatrixT<Element> operator&&(const TMatrixT<Element>&, const TMatrixT<Element>&)’ always evaluates both arguments
/opt/root/root_v5-26-00/include/TMatrixT.h:284: warning: user-defined ‘TMatrixT<Element> operator&&(const TMatrixT<Element>&, const TMatrixTSym<Element>&)’ always evaluates both arguments
/opt/root/root_v5-26-00/include/TMatrixT.h:285: warning: user-defined ‘TMatrixT<Element> operator&&(const TMatrixTSym<Element>&, const TMatrixT<Element>&)’ always evaluates both arguments
/opt/root/root_v5-26-00/include/TMatrixT.h:286: warning: user-defined ‘TMatrixT<Element> operator||(const TMatrixT<Element>&, const TMatrixT<Element>&)’ always evaluates both arguments
/opt/root/root_v5-26-00/include/TMatrixT.h:287: warning: user-defined ‘TMatrixT<Element> operator||(const TMatrixT<Element>&, const TMatrixTSym<Element>&)’ always evaluates both arguments

and a few more.

What is the best way to suppress or fix those warnings?

Thanks,
Constantin Received on Wed Feb 17 2010 - 14:21:07 CET

This archive was generated by hypermail 2.2.0 : Thu Feb 18 2010 - 17:50:02 CET