mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
compile: Enable 'shadowed-toplevel' warning.
* guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'.
This commit is contained in:
parent
0e1c5ccc3b
commit
77c2899cd4
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ (define %warnings
|
|||
;; 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."
|
||||
|
|
Loading…
Reference in a new issue