Re: Explaination on GC-safety warning of Nim compiler

2018-12-21 Thread liwt31
Yes, I think that's exactly what I wanted. Thank you!

Re: Explaination on GC-safety warning of Nim compiler

2018-12-21 Thread liwt31
Yes, I think that's exactly what I wanted. Thank you!

Re: Explaination on GC-safety warning of Nim compiler

2018-12-03 Thread nepeckman
I'm far from a Nim expert, but I think GC safety is determined by access of global variables. Does this section of the manual reference anything useful? [https://nim-lang.org/docs/manual.html#threads-gc-safety](https://nim-lang.org/docs/manual.html#threads-gc-safety)

Explaination on GC-safety warning of Nim compiler

2018-12-03 Thread liwt31
Hello, I'm new to Nim and I'm learning it by making some little apps, reading _Nim in Action_ and so on. During my exploration I found that with higher verbosity level the compiler complains my code on GC-safety with a warning like `Warning: not GC-safe: 'foo()' [GcUnsafe]`. I've tried to look u