Hi,
Your checkout is not fresh:
revision 1.11
date: 2009/09/22 00:14:57; author: sbrozell; state: Exp; lines: +1 -1
Commented out constructor taking a _Expr:
template< typename T > numvec( const std::_Expr<T,double>& rhs )
_Expr is apparently defined in gnu libstdc++, but this constructor
is apparently never used and cause this:
pgCC -c -I../../freelib -I../../freelib -o numvec.o numvec.cpp
"numvec.hpp", line 27: warning: omission of explicit type is nonstandard
("int" assumed)
template< typename T > numvec( const std::_Expr<T,double>& rhs ) : std::valarray<double>( rhs ) {}
^
"numvec.hpp", line 27: error: qualified name is not allowed
template< typename T > numvec( const std::_Expr<T,double>& rhs ) : std::valarray<double>( rhs ) {}
^
Scott
On Thu, Sep 24, 2009 at 05:39:17PM +0200, Andreas Svrcek-Seiler wrote:
> Dear colleagues,
> After a fresh cvs checkout, $AMBERHOME/src/gleap/mortsrc/common/numvec.hpp
> has line 27:
> template< typename T > numvec( const std::_Expr<T,double>& rhs ) :
> std::valarray<double>( rhs ) {}
> commented out and compilation fails.
> Since I'm close to C++-illiterate it seems better to just report this.
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Sep 24 2009 - 10:00:02 PDT