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

Compiling with libc++ issues #44

Open
brad-goss opened this issue Jul 9, 2018 · 0 comments
Open

Compiling with libc++ issues #44

brad-goss opened this issue Jul 9, 2018 · 0 comments

Comments

@brad-goss
Copy link

Libc++ requires the std::polar function to input a non negative rho.

https://cplusplus.github.io/LWG/issue2459

iOS12 is removing libstdc++ from the simulator runtime and is pushing devs to adopt libc++.

I am able to build DSPFilters, by setting the DSPFilters build settings "C++ Standard Library" to "Compiler Default" and removing any build references to libstdc++.

While the library now compiles and runs, it hits an assertion.

Changing Butterworth.cpp lines 90/91, removing the negative sign seems to resolve the issue.

@brad-goss brad-goss changed the title Compiling with libc++ throws errors Compiling with libc++ issues Jul 9, 2018
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