caps-lv2
caps-lv2 copied to clipboard
error: use of undeclared identifier '__exp10f'; did you mean 'exp10f'?
In file included from interface.cc:5:
In file included from ../../Cabinet.h:41:
../../dsp/v4f_IIR2.h:37:38: error: use of undeclared identifier '__exp10f'; did you mean 'exp10f'?
inline float exp10f(float f) {return __exp10f(f);}
^~~~~~~~
exp10f
OS: FreeBSD 12.2
FreeBSD should have return powf(10., f);
there.
Regardless of the system, if a function name begins with underscore, like __exp10f()
, that is a hack and it shouldn't be used.