diff options
Diffstat (limited to 'config/config.nims')
-rw-r--r-- | config/config.nims | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/config/config.nims b/config/config.nims index aa1eda894..b8979e8e3 100644 --- a/config/config.nims +++ b/config/config.nims @@ -11,7 +11,7 @@ cppDefine "NAN" when defined(nimStrictMode): # xxx add more flags here, and use `-d:nimStrictMode` in more contexts in CI. - # pending bug #14246, enable this: + # enable this: # when defined(nimHasWarningAsError): # switch("warningAsError", "UnusedImport") @@ -20,9 +20,4 @@ when defined(nimStrictMode): switch("hintAsError", "ConvFromXtoItselfNotNeeded") # future work: XDeclaredButNotUsed -when defined(windows) and not defined(booting): - # Avoid some rare stack corruption while using exceptions with a SEH-enabled - # toolchain: https://github.com/nim-lang/Nim/pull/19197 - switch("define", "nimRawSetjmp") - -switch("define", "nimVersion:" & NimVersion) +switch("define", "nimVersion:" & NimVersion) # deadcode |