build: Use -Wmacro-use-before-definition.
* build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'.
This commit is contained in:
parent
8bfa40eae5
commit
1b58f1c8ba
|
@ -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"))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue