pow10 not defined on OS/X
Audio plugin bundle over the LV2 standard for Linux
Brought to you by:
sapista
pow10 is a GNU extension and is not available when compiling on OS/X. See also https://www.gnu.org/software/gnulib/manual/html_node/pow10.html
Compiliation will fail with:
/tmp/eq10q20160102-31939-1ptphs5/eq10q-2.0/gui/widgets/bandctl.cpp:948:12: error: use of undeclared identifier 'pow10'
val *= pow10(3.0 - str.length());
An workaround would be to rely on pow(10, x) instead.
I was not interested in providing a version for OSX because I don't have acces to this OS. However, following your sugestions I will try to do my code more portable. I will include your tips in next releases. Thanks for your work!
@sapista: without changing this, eq10q will not compile on current Linux kernels!
Please use the standardized exp10() instead, as pow10() is very much on its way out and release a new version!