Non-constant assertions always fail #128

Closed
opened 2025-07-17 13:49:50 +02:00 by belka · 0 comments
Owner

assert(true) and assert(false) work as expected (the last one generates a segmentation fault). But an assert with non-constant condition, whether assert(1 = 1) or assert(1 = 0), always fails with invalid machine instruction. Also shouldn't assert(false) generate something similar?

`assert(true)` and `assert(false)` work as expected (the last one generates a segmentation fault). But an assert with non-constant condition, whether `assert(1 = 1)` or `assert(1 = 0)`, always fails with invalid machine instruction. Also shouldn't `assert(false)` generate something similar?
belka added the
bootstrap
label 2025-07-17 13:49:50 +02:00
belka closed this issue 2025-07-17 23:53:59 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: belka/elna#128
No description provided.