diff options
Diffstat (limited to 'compiler/nim.cfg')
-rw-r--r-- | compiler/nim.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/nim.cfg b/compiler/nim.cfg index 040053685..e4425065e 100644 --- a/compiler/nim.cfg +++ b/compiler/nim.cfg @@ -41,6 +41,7 @@ define:useStdoutAsStdmsg @end @if nimHasWarnBareExcept: + warning[BareExcept]:on warningAserror[BareExcept]:on @end @@ -51,3 +52,7 @@ define:useStdoutAsStdmsg warningAsError[ProveInit]:on @end +@if nimHasWarnStdPrefix: + warning[StdPrefix]:on + warningAsError[StdPrefix]:on +@end |