Blitz logo

Blitz Support :

From: Andrius Kurtinaitis (andrius.kurtinaitis_at_[hidden])
Date: 2003-12-14 10:42:49


Hello,
after all the discussions I decided to try the functors.
They work, but for binary and ternary functor definitions my compiler
gives some warnings. Does anybody know what they really mean and what to
do with them?
The compiler is gcc version 3.3.3 20031206 (prerelease) (Debian)
The cpp file and the error log are attached.
Regards
Andrius

cd /home/andrius/download/ternary/
g++ -o testTernary testTernary.cpp /usr/lib/libblitz.a
testTernary.cpp:7: warning: `blitz::asExpr<T>::T_expr::T_numtype' is implicitly
   a typename
testTernary.cpp:7: warning: implicit typename is deprecated, please see the
   documentation for details
testTernary.cpp:7: warning: `blitz::asExpr<O1>::T_expr::T_numtype' is
   implicitly a typename
testTernary.cpp:7: warning: implicit typename is deprecated, please see the
   documentation for details
testTernary.cpp: In member function `
   blitz::_bz_ArrayExpr<blitz::_bz_FunctorExpr2<Mean, typename
   blitz::asExpr<T>::T_expr, typename blitz::asExpr<O1>::T_expr, typename
   blitz::promote_trait<typename blitz::asExpr<T>::T_expr::T_numtype, typename
   blitz::asExpr<O1>::T_expr::T_numtype>::T_promote> > Mean::operator()(const
   blitz::ETBase<T1>&, const blitz::ETBase<T2>&) const':
testTernary.cpp:7: warning: `blitz::asExpr<T>::T_expr::T_numtype' is implicitly
   a typename
testTernary.cpp:7: warning: implicit typename is deprecated, please see the
   documentation for details
testTernary.cpp:7: warning: `blitz::asExpr<O1>::T_expr::T_numtype' is
   implicitly a typename
testTernary.cpp:7: warning: implicit typename is deprecated, please see the
   documentation for details

Compilation finished at Sun Dec 14 17:36:09