aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-09-08 12:47:55 +0200
committerLudovic Courtès <ludo@gnu.org>2017-09-08 12:48:08 +0200
commit1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b (patch)
treebaf67d6c4d3649d071685a7b50485c5b8a7637c3 /build-aux
parent8bfa40eae5c9ac7339c78a70e467ba14dd7b3d1e (diff)
downloadguix-1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b.tar
guix-1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b.tar.gz
build: Use -Wmacro-use-before-definition.
* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/compile-all.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm
index 147bb80196..fe25c5d065 100644
--- a/build-aux/compile-all.scm
+++ b/build-aux/compile-all.scm
@@ -27,7 +27,8 @@
;; FIXME: 'format' is missing because it reports "non-literal format
;; 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))
+ '(unsupported-warning unbound-variable arity-mismatch
+ macro-use-before-definition)) ;new in 2.2
(define host (getenv "host"))