diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-11-12 11:11:54 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-12-21 17:49:58 +0100 |
| commit | 22a2a43021e8e82226d4b33189e77673b7326c95 (patch) | |
| tree | cd36b87521ab52d53ac12d930fddb698867727f6 /bootstrap.conf | |
| parent | doc: Remove curly quotes from shell examples in man pages (diff) | |
| download | coreutils-22a2a43021e8e82226d4b33189e77673b7326c95.tar.gz coreutils-22a2a43021e8e82226d4b33189e77673b7326c95.zip | |
build: add configure-time --enable-gcc-warnings option; avoid warnings
* bootstrap.conf (gnulib_modules): Add "warnings" module.
* configure.ac: Add --enable-gcc-warnings, derived from code in bison.
* src/Makefile.am (AM_CFLAGS): Set to $(WARN_CFLAGS) # $(WERROR_CFLAGS)
* lib/Makefile.am (AM_CFLAGS): Change spelling to $(WARN_CFLAGS)
Don't use $(WERROR_CFLAGS), yet.
* src/system.h (usage): Declare.
* src/base64.c (usage): Declare to be global, for consistency.
* src/timeout.c (usage): Likewise.
* src/truncate.c (usage): Likewise.
* src/getlimits.c (usage): Likewise.
* src/pinky.c (ttyname): Declare with prototype, rather than an
empty argument list.
* src/who.c (ttyname): Likewise.
* src/su.c (crypt, getusershell, setusershell, endusershell): Likewise.
Diffstat (limited to 'bootstrap.conf')
| -rw-r--r-- | bootstrap.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.conf b/bootstrap.conf index a3687d00f..2fa7f0d30 100644 --- a/bootstrap.conf +++ b/bootstrap.conf @@ -100,6 +100,7 @@ gnulib_modules=" vasprintf-posix vc-list-files verify version-etc-fsf + warnings wcwidth winsz-ioctl winsz-termios write-any-file xalloc xfreopen |
