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

View file

@ -27,7 +27,8 @@ (define warnings
;; 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"))