ambigous overload
Marco Atzeri
marco_atzeri at yahoo.it
Wed Mar 25 08:21:22 CDT 2009
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
More information about the Octave-maintainers
mailing list