> C:\Nim\tests\threads>nim c --hints:on --threads:on tthreadheapviolation1.nim
> 
> Hint: used config file 'C:\Nim\config\nim.cfg' [Conf]
> 
> Hint: used config file 'c:\nim\tests\threads\nim.cfg' [Conf]
> 
> Hint: system [Processing]

> Hint: tthreadheapviolation1 [Processing]
> 
> tthreadheapviolation1.nim(14, 7) Hint: 'mydata' is declared but not used 
> [XDeclaredButNotUsed]
> 
> tthreadheapviolation1.nim(11, 6) Error: 'horrible' is not GC-safe as it 
> accesses 'global' which is a global using GC'ed memory

Reply via email to