anyway to debug nogc code with writeln?
Dennis
dkorpel at gmail.com
Sun Sep 2 11:03:08 UTC 2018
On Saturday, 1 September 2018 at 21:53:03 UTC, aliak wrote:
> Anyway around this?
I don't know if your situation allows it, but you can mark f
explicitly as always @nogc. If your design assumes that it's
@nogc, it's a good idea to add the attribute anyway.
You can also use the C printf function:
```
import core.stdc.stdio: printf;
printf("yo\n");
```
More information about the Digitalmars-d-learn
mailing list