Closed pingplug closed 8 years ago
yes, thanks!
ps: there are some errors in mvtools_sf with GCC 6.1
In file included from src/GroupOfPlanes.h:3:0,
from src/MVAnalyze.cpp:8:
src/PlaneOfBlocks.h:169:29: error: call of overloaded ‘abs(double)’ is ambiguous
if (abs(srcLuma - refLuma) > (srcLuma + refLuma) / 32) {
^
In file included from /usr/include/c++/6.1.1/cstdlib:75:0,
from src/MVAnalyze.cpp:2:
/usr/include/stdlib.h:774:12: note: candidate: int abs(int)
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^~~
In file included from src/MVAnalyze.cpp:2:0:
/usr/include/c++/6.1.1/cstdlib:180:3: note: candidate: long long int std::abs(long long int)
abs(long long __x) { return __builtin_llabs (__x); }
^~~
/usr/include/c++/6.1.1/cstdlib:172:3: note: candidate: long int std::abs(long int)
abs(long __i) { return __builtin_labs(__i); }
^~~
Makefile:562: recipe for target 'src/MVAnalyze.lo' failed
make: *** [src/MVAnalyze.lo] Error 1
make: *** Waiting for unfinished jobs....
system: Arch Linux 64bit GCC version:
and the error: