Closed winrid closed 1 year ago
Use 1.6.10 or mm:arc
or a C compiler that supports _setjmp
.
Hey @Araq ! Thanks for replying. I just finished looking through your book :)
--gc=arc
does fix it.
I think, my C compiler does support _setjmp? I just updated my toolchain. I will also try 1.6.10....
Updated to 1.6.10
and issue is also gone.
Description
Hello!
This is my first Nim bug report so thanks for any patience if I miss something.
Code snippet that fails to compile:
For some reason produces a call to _setjmp in generated code with a second
NIM_NIL
argument. Tried both C and C++ backends. AFAIK _setjmp should only take one argument.Nim Version
Current Output
Expected Output
Possible Solution
Use WSL
Additional Information
I've tried deleting the nimcache folder (
UserDir\nimcache
).