Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yurivict opened this issue Apr 7, 2021 · 0 comments
Open

Comments

@yurivict
Copy link

yurivict commented Apr 7, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant