[mythtv] 0.24-fixes complilation error

Torbjörn Jansson torbjorn.jansson at mbox200.swipnet.se
Thu Oct 21 07:03:06 UTC 2010


Hello all.
Tried to compile 0.24-fixes rev 26934 and all I got was this error.
Any ideas on what's wrong?


RingBuffer.cpp: In member function 'long long int RingBuffer::Seek(long long
int, int, bool)':
RingBuffer.cpp:1924: error: call of overloaded 'abs(long long int)' is
ambiguous
/usr/include/stdlib.h:699: note: candidates are: int abs(int)
/usr/include/c++/4.3/cstdlib:144: note:                 long int
std::abs(long int)
/usr/include/c++/4.3/cmath:107: note:                 long double
std::abs(long double)
/usr/include/c++/4.3/cmath:103: note:                 float std::abs(float)
/usr/include/c++/4.3/cmath:99: note:                 double std::abs(double)
make[2]: *** [RingBuffer.o] Error 1



More information about the mythtv-dev mailing list