Open krumelmonster opened 1 year ago
I wanted to work around https://github.com/andrewrk/libsoundio/issues/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.
NDEBUG
-Werror
I wanted to work around https://github.com/andrewrk/libsoundio/issues/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.