Kerilk (Brice Videau)
- Login: Kerilk
- Registered on: 05/12/2022
- Last sign in: 05/29/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
05/13/2022
-
02:45 AM Ruby Bug #18777: NDEBUG macro defined after including ruby.h
- shyouhei (Shyouhei Urabe) wrote in #note-1:
> This is intentional. Devs hate assertions. See also https://bugs.ruby-lang.org/issues/16837 .
Thanks for confirming.
Here is the workaround I use, should anybody with the same issue need a...
05/12/2022
-
08:23 PM Ruby Bug #18777 (Closed): NDEBUG macro defined after including ruby.h
- Hello,
When using ruby 3+, including `ruby.h` results in the `NDEBUG` macro becoming defined, which deactivates assertions.
This simple (see attached `test.c` file) example illustrates this:
```C
#include <assert.h>
#include <ruby...