summary refs log tree commit diff stats
path: root/compiler/nim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/nim.cfg')
-rw-r--r--compiler/nim.cfg5
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