This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
new 26_numerics failure
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 3 Feb 2003 11:30:43 -0600
- Subject: new 26_numerics failure
Just seeing this new one:
FAIL: 26_numerics/valarray_name_lookup.cc (test for excess errors)
Not quite sure when it came in.
Looks like:
%COMP.sh "-static -c" 26_numerics/valarray_name_lookup.cc
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/valarray_before.h: In
member function `_Tp std::__acos::operator()(const _Tp&) const [with _Tp =
My::Number]':
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/valarray_before.h:462: instantiated from `typename std::__fun<_Oper, typename _Arg::value_type>::result_type std::_UnBase<_Oper, _Arg>::operator[](unsigned int) const [with _Oper = std::__acos, _Arg = std::valarray<My::Number>]'
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/valarray_after.h:189: instantiated from `_Tp std::_Expr<_Clos, _Tp>::operator[](unsigned int) const [with _Clos = std::_UnClos<std::__acos, std::_ValArray, My::Number>, _Tp = My::Number]'
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/valarray_array.tcc:88: instantiated from `void std::__valarray_copy(const std::_Expr<_Dom, _Tp>&, unsigned int, std::_Array<_Tp>) [with _Tp = My::Number, _Dom = std::_UnClos<std::__acos, std::_ValArray, My::Number>]'
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/valarray:379: instantiated from `std::valarray<_Tp>& std::valarray<_Tp>::operator=(const std::_Expr<_Dom, _Tp>&) [with _Dom = std::_UnClos<std::__acos, std::_ValArray, My::Number>, _Tp = My::Number]'
26_numerics/valarray_name_lookup.cc:105: instantiated from here
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/bits/valarray_before.h:81: error: call
of overloaded `acos(const My::Number&)' is ambiguous
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/cmath:99: error:
candidates
are: float std::acos(float)
/usr/include/bits/mathcalls.h:55: error: double acos(double)
/mnt/hd/bld/bld-x86-gcc/i686-pc-linux-gnu/libstdc++-v3/include/