[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: build: Really enable Guile warnings.
From: |
Ludovic Courtès |
Subject: |
07/10: build: Really enable Guile warnings. |
Date: |
Mon, 01 Feb 2016 09:13:00 +0000 |
civodul pushed a commit to branch master
in repository guix.
commit 689b658db8770fd5af08bd00050e2b81c749379b
Author: Ludovic Courtès <address@hidden>
Date: Sun Jan 31 21:59:01 2016 +0100
build: Really enable Guile warnings.
* build-aux/compile-all.scm (compile-options): Rename to...
(warnings): ... this. Add 'unsupported-warning'.
(compile-file*): Pass '(#:warnings ...) as #:opts.
---
build-aux/compile-all.scm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/build-aux/compile-all.scm b/build-aux/compile-all.scm
index e0877db..f1704dc 100644
--- a/build-aux/compile-all.scm
+++ b/build-aux/compile-all.scm
@@ -21,7 +21,8 @@
(ice-9 threads)
(guix build utils))
-(define compile-options '(format unbound-variable arity-mismatch))
+(define warnings
+ '(unsupported-warning format unbound-variable arity-mismatch))
(define host (getenv "host"))
@@ -70,7 +71,7 @@
(lambda ()
(compile-file file
#:output-file go
- #:opts compile-options)))))
+ #:opts `(#:warnings ,warnings))))))
(match (command-line)
((_ . files)
- branch master updated (e3f755f -> 47c0f92), Ludovic Courtès, 2016/02/01
- 02/10: install: Make it clear that we refer to the root by label., Ludovic Courtès, 2016/02/01
- 01/10: build: Use the right section and source for man pages., Ludovic Courtès, 2016/02/01
- 06/10: guix package: Support package transformation options., Ludovic Courtès, 2016/02/01
- 07/10: build: Really enable Guile warnings.,
Ludovic Courtès <=
- 08/10: build: Remove semicolons from Guile warnings., Ludovic Courtès, 2016/02/01
- 05/10: guix build: Separate transformation options., Ludovic Courtès, 2016/02/01
- 04/10: doc: Add subsections to 'Invoking guix build'., Ludovic Courtès, 2016/02/01
- 03/10: guix build: Transformations operate on single objects., Ludovic Courtès, 2016/02/01
- 09/10: build-system/python: Use 'ensure-keyword-arguments'., Ludovic Courtès, 2016/02/01
- 10/10: guix build: Add '--with-input'., Ludovic Courtès, 2016/02/01