Skip to content

CMake: -Werrors breaks assert/NDBEUG #277

@krumelmonster

Description

@krumelmonster

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions