I came across 
[<https://github.com/nim-lang/Nim/issues/4437](http://forum.nim-lang.org/postActivity.xml#https-github-com-nim-lang-nim-issues-4437),
 which said that the "\--gc:none" setting is about to be replaced by 
"\--gc:stack", so I tried it, and found various problems, such as

  * assert is not defined
  * "+=" is not defined


    
    
    var
      str: string
    for ch in str:
      # whatever
    

> gives the error message: Error: ambiguous call; both system.items(a: cstring) 
> and system.items(a: openarray[T]) match for: (string)

But... when I tried to make a small test file to post here, it compiled without 
errors!

So my question is: is the "\--gc:stack" implementation still just 
work-in-progress, or should I put in some more work to reproduce these symptoms 
and raise proper issues on Github?

PS: This problem is present on the latest nim version from Github, downloaded 
and compiled yesterday. My host system is an up-to-date x86_64 with Arch Linux, 
trying to cross-compile for --cpu:arm

Reply via email to