1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

compile: Enable 'shadowed-toplevel' warning.

* guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'.
This commit is contained in:
Ludovic Courtès
2019-06-25 14:54:58 +02:00
parent 0e1c5ccc3b
commit 77c2899cd4

View File

@@ -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."