From 1b58f1c8ba6f2ccf7e19c6b022b7567a6841a28b Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 8 Sep 2017 12:47:55 +0200 Subject: build: Use -Wmacro-use-before-definition. * build-aux/compile-all.scm (warnings): Add 'macro-use-before-definition'. --- build-aux/compile-all.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'build-aux') 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")) -- cgit v1.2.3