Skip to content

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

@yurivict

Description

@yurivict
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions