mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
Don't use `-Werror' by default.
* configure.ac (GUILE_ERROR_ON_WARNING): Default to "no". * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable. * NEWS: Update.
This commit is contained in:
parent
587cd3bfc9
commit
13922e3fa9
3 changed files with 7 additions and 1 deletions
|
@ -44,6 +44,8 @@ DISTCLEANFILES = check-guile.log
|
|||
# `$(PACKAGE)-$(PACKAGE_VERSION)' by default, which is wrong.)
|
||||
distdir = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION)
|
||||
|
||||
DISTCHECK_CONFIGURE_FLAGS = --enable-error-on-warning
|
||||
|
||||
dist-hook: gen-ChangeLog
|
||||
|
||||
clean-local:
|
||||
|
|
4
NEWS
4
NEWS
|
@ -149,6 +149,10 @@ procedure. Pass the -Warity-mismatch on the `guile-tools compile'
|
|||
command line, or add `#:warnings '(arity-mismatch)' to your `compile'
|
||||
or `compile-file' invocation.
|
||||
|
||||
** Guile is now built without `-Werror' by default
|
||||
|
||||
Use the `--enable-error-on-warning' configure option to enable it.
|
||||
|
||||
** And of course, the usual collection of bugfixes
|
||||
|
||||
Interested users should see the ChangeLog for more information.
|
||||
|
|
|
@ -96,7 +96,7 @@ AC_DEFINE_UNQUOTED([HOST_TYPE], ["$host"],
|
|||
#
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
GUILE_ERROR_ON_WARNING="yes"
|
||||
GUILE_ERROR_ON_WARNING="no"
|
||||
|
||||
AC_ARG_ENABLE(error-on-warning,
|
||||
[ --enable-error-on-warning treat compile warnings as errors],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue