[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ambigous overload
From: |
Marco Atzeri |
Subject: |
ambigous overload |
Date: |
Wed, 25 Mar 2009 13:21:22 +0000 (GMT) |
Dear Havel,
on latest mercurial source, building on cygwin we have
again ambigous overload, now on xisinf
../../octave_local/liboctave/oct-inttypes.cc: In function 'octave_int<T>
operator*(const octave_int<T>&, const double&) [with T = long long unsigned
int]':
../../octave_local/liboctave/oct-inttypes.cc:410: error: call of overloaded
'xisinf(const octave_int<long long unsigned int>&)' is ambiguous
../../octave_local/liboctave/lo-mappers.h:63: note: candidates are: bool
xisinf(double)
../../octave_local/liboctave/lo-mappers.h:134: note: bool
xisinf(float)
../../octave_local/liboctave/oct-inttypes.cc: In function 'octave_int<T>
operator*(const octave_int<T>&, const double&) [with T = long long int]':
../../octave_local/liboctave/oct-inttypes.cc:445: error: call of overloaded
'xisinf(const octave_int<long long int>&)' is ambiguous
../../octave_local/liboctave/lo-mappers.h:63: note: candidates are: bool
xisinf(double)
../../octave_local/liboctave/lo-mappers.h:134: note: bool
xisinf(float)
make[2]: *** [oct-inttypes.o] Error 1
suggestion ?
Regards
Marco
- ambigous overload,
Marco Atzeri <=