caps-lv2 icon indicating copy to clipboard operation
caps-lv2 copied to clipboard

error: use of undeclared identifier '__exp10f'; did you mean 'exp10f'?

Open yurivict opened this issue 3 years ago • 0 comments

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.

yurivict avatar Apr 07 '21 19:04 yurivict