aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-06-25 14:54:58 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-25 17:41:24 +0200
commit77c2899cd409d0bafecf2253b1656487da09adc0 (patch)
tree20654b892e5aabfc3277ee8a07c6f9e023794787
parent0e1c5ccc3b7ac988f69988b8adf499e89b133856 (diff)
downloadpatches-77c2899cd409d0bafecf2253b1656487da09adc0.tar
patches-77c2899cd409d0bafecf2253b1656487da09adc0.tar.gz
compile: Enable 'shadowed-toplevel' warning.
* guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'.
-rw-r--r--guix/build/compile.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/compile.scm b/guix/build/compile.scm
index 794f12379c..c8fe273f7e 100644
--- a/guix/build/compile.scm
+++ b/guix/build/compile.scm
@@ -63,7 +63,8 @@
;; strings" due to the fact that we use 'G_' instead of '_'. We'll need
;; help from Guile to solve this.
'(unsupported-warning unbound-variable arity-mismatch
- macro-use-before-definition)) ;new in 2.2
+ macro-use-before-definition ;new in 2.2
+ shadowed-toplevel)) ;new in 2.2.5
(define (optimization-options file)
"Return the default set of optimizations options for FILE."