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.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/nim.cfg b/compiler/nim.cfg
index 20ce3810f..96b47b0e6 100644
--- a/compiler/nim.cfg
+++ b/compiler/nim.cfg
@@ -38,3 +38,7 @@ define:useStdoutAsStdmsg
 @if nimHasWarnUnnamedBreak:
   warningAserror[UnnamedBreak]:on
 @end
+
+@if nimHasWarnBareExcept:
+  warningAserror[BareExcept]:on
+@end