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

CMake: -Werrors breaks assert/NDBEUG #277

Open
krumelmonster opened this issue Apr 17, 2023 · 0 comments · May be fixed by #282
Open

CMake: -Werrors breaks assert/NDBEUG #277

krumelmonster opened this issue Apr 17, 2023 · 0 comments · May be fixed by #282

Comments

@krumelmonster
Copy link

krumelmonster commented Apr 17, 2023

I wanted to work around #276 by simply disabling assertions via the NDEBUG Macro. However this leads to unused variables for variables only introduced for asserting on them (e.g. here and here). CMakeLists.txt enables -Werror which it probably shouldn't and therefore libsoundio won't compile with C asserts disabled.

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