diff options
author | Andy Wingo <wingo@pobox.com> | 2020-05-08 15:58:23 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2020-05-08 16:03:32 +0200 |
commit | 220934c49d2629ebf826cc377541694334f44e7e (patch) | |
tree | af0e30ae74e913a0386709e6ba23cd5cd12f2c1c /am/bootstrap.am | |
parent | 116f94d661b61e297b733363b49042c6c14169b4 (diff) | |
download | guile-220934c49d2629ebf826cc377541694334f44e7e.tar.gz |
Wire up simplified warning levels in "guild compile"
* am/guilec (GUILE_WARNINGS):
* am/bootstrap.am (GUILE_WARNINGS): Explictly default to -W1.
* bootstrap/Makefile.am (GUILE_WARNINGS): Set to -Wnone, as the meaning
of "no -W flags" has changed to be effectively -W1.
* module/scripts/compile.scm (%options): Adapt to parse -Wnone, -W2, and
so on.
(parse-args): Default to (default-warning-level).
(show-warning-help): Add more warning help.
(compile): Pass #:warning-level.
Diffstat (limited to 'am/bootstrap.am')
-rw-r--r-- | am/bootstrap.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/am/bootstrap.am b/am/bootstrap.am index 43f0f0482..cc62e4026 100644 --- a/am/bootstrap.am +++ b/am/bootstrap.am @@ -18,7 +18,7 @@ ## Fifth Floor, Boston, MA 02110-1301 USA # These variables can be set before you include bootstrap.am. -GUILE_WARNINGS ?= -Wunbound-variable -Warity-mismatch -Wformat +GUILE_WARNINGS ?= -W1 GUILE_OPTIMIZATIONS ?= -O2 GUILE_TARGET ?= $(host) GUILE_BUILD_TAG ?= BOOTSTRAP |