Hello from the future!

I'm using Nim 1.6 at the moment, moving to 2.0 soon.

I'm targeting a single core system without threading and would like to turn off 
the locklevel warning project-wide.

  1. Is it true that this whole concept is gone or deprecated in v2?
  2. This doesn't work when I stick it in config.nims on 1.6.16:


    
    
    --warning[LockLevel]:off
    
    
    Run

or
    
    
    switch("warning[LockLevel]","off")
    
    
    Run

Both give the same result: `invalid command line option: 
'--warning[LockLevel]'` Instead I have been adding `{. push 
warning[LockLevel]:off.}` to any file where necessary. Is there a better way to 
do this globally?

Reply via email to