build: Use -Wmacro-use-before-definition.

* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
This commit is contained in:
Ludovic Courtès 2017-09-08 12:47:55 +02:00
parent 8bfa40eae5
commit 1b58f1c8ba
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,8 @@
;; FIXME: 'format' is missing because it reports "non-literal format ;; FIXME: 'format' is missing because it reports "non-literal format
;; strings" due to the fact that we use 'G_' instead of '_'. We'll need ;; strings" due to the fact that we use 'G_' instead of '_'. We'll need
;; help from Guile to solve this. ;; 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")) (define host (getenv "host"))