Skip to content

assert() is always ignored #1454

@graudtv

Description

@graudtv

There is a couple of places in simulator, there macro assert() is used. But the project is build so that NDEBUG is always defined, so assert() is always ignored (even in unit-tests)
I've tried running cmake with cmake build-type=Debug ..., it doesn't help too. Writing assert(0) in any place doesn't crash the program

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