Ico Doornekamp

Results 246 comments of Ico Doornekamp

Hm, I just tried the the brute-force approach of adding `{.gcsafe.}` pragma's deeper and deeper into the call stack to see the root cause, and now Nim tells me ```...

Sure, the closure also gets the pragma. My current problem is that it is perfectly valid to access globals from parsers if you want to, but if I would mark...

I think I can make a relatively simple fix for this. Just to make sure I'm looking at the right thing, can you share a minimal complete example that shows...

Right; I made a `gcsafe` branch which can now be forced into gcsafe mode by passing the `-d:npegGcsafe`compilation flag. This then adds the proper pragma to the indirect call and...

Merged and released in 0.24.0

Hmm, npeg has seen some major refactorigns since the `npegGcsafe` flag was added, and I think it's not part of the unit tests; my guess is that indeed stuff is...

Stretch goal for 2023: https://github.com/nim-lang/RFCs/issues/503

- On 2016-05-23 01:47:05 +0200, Pietro Gagliardi wrote: > `uiBoxAppend()`'s last argument, for example, is a boolean value with > 0 being `false` and nonzero being `true`. C didn't really...

Quoting mhessler97 (2020-10-17 21:21:19) > I decided to attempt compilation on windows again now that nim 1.4 is > out to see if might work this time and I'm getting...

I see this include path in the cmdline: ``` -IC:\Users\matth\scoop\apps\nim\1.2.0\lib ``` The `C:\Users\matth\scoop\apps\nim\1.2.0` comes from Nims `getCurrentCompilerExe()`, so I assume your Nim binary is in there. Typically, in the `lib`...