volumio@volumio:~/mpd_oled$ PLAYER=VOLUMIO make
g++ -W -Wall -Wno-unused-variable -Wno-unused-parameter -Wno-strict-aliasing -Ofast -DVOLUMIO -c -o status.o status.cpp
status.cpp: In function 'std::string secs_to_time(int)':
status.cpp:400:10: error: 'abs' is not a member of 'std'
secs = std::abs(secs);
^
status.cpp:400:10: note: suggested alternative:
In file included from status.cpp:41:0:
/usr/include/stdlib.h:775:12: note: 'abs'
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^
status.cpp: In member function 'std::string mpd_info::get_kbitrate_str() const':
status.cpp:432:23: error: 'abs' is not a member of 'std'
int rate = std::min(std::abs(kbitrate), 9999);
^
status.cpp:432:23: note: suggested alternative:
In file included from status.cpp:41:0:
/usr/include/stdlib.h:775:12: note: 'abs'
extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
^
<builtin>: recipe for target 'status.o' failed
make: *** [status.o] Error 1
volumio@volumio:~/mpd_oled$