guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: compile: Enable 'shadowed-toplevel' warning.


From: guix-commits
Subject: 01/11: compile: Enable 'shadowed-toplevel' warning.
Date: Tue, 25 Jun 2019 11:41:46 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 77c2899cd409d0bafecf2253b1656487da09adc0
Author: Ludovic Courtès <address@hidden>
Date:   Tue Jun 25 14:54:58 2019 +0200

    compile: Enable 'shadowed-toplevel' warning.
    
    * guix/build/compile.scm (%warnings): Add 'shadowed-toplevel'.
---
 guix/build/compile.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/guix/build/compile.scm b/guix/build/compile.scm
index 794f123..c8fe273 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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]