OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_64-30-g6d51ebd
Gerrit Code Review
gerrit@openafs.org
Mon, 28 Sep 2009 05:00:25 -0700 (PDT)
The following commit has been merged in the master branch:
commit 6d51ebd6c8d4d5d6ddc42b539be5814e7c468d9c
Author: Simon Wilkinson <sxw@inf.ed.ac.uk>
Date: Mon Sep 28 12:07:58 2009 +0200
Add support for warning checked builds
This patch adds a '--enable-checking' configuration option. When this
option is supplied, and gcc is in use, the compiler will treat any
warnings as errors. This will hopefully help stop new warnings from
creeping into the tree.
In order to still be able to build, all of the currently existing
warnings are accepted (these are documented in README.WARNINGS). With
this set of warning inhibitions, the tree is known to build on 32bit
Leopard - other systems may vary. Warning inhibition may be disabled
by supplying --enable-checking=all - in this case the tree will
definitely not build!
If --enabled-checking is not specified, the existing compilation
behaviour is maintained, so there is no user-visible change.
Gcc 4.2, or later, is required to use the pragma sets contained within
this patch. Again, they are not visible unless --enable-checking is
given.
Reviewed-on: http://gerrit.openafs.org/526
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
README.WARNINGS | 104 ++++++++++++++++++++++++++++++++++
acinclude.m4 | 6 ++
src/afs/afs_syscall.c | 4 +
src/afsd/Makefile.in | 3 +-
src/afsd/afsd.c | 3 +
src/auth/Makefile.in | 1 +
src/bozo/Makefile.in | 3 +
src/bozo/bosserver.c | 3 +
src/bubasics/Makefile.in | 3 +
src/bucoord/Makefile.in | 15 +++++
src/bucoord/ubik_db_if.c | 3 +
src/budb/Makefile.in | 4 +
src/butc/Makefile.in | 5 ++
src/cf/osconf.m4 | 14 ++++-
src/comerr/Makefile.in | 8 +++
src/config/Makefile.config.in | 2 +-
src/fsint/Makefile.in | 7 ++
src/fsprobe/Makefile.in | 1 +
src/kauth/Makefile.in | 14 ++++-
src/libadmin/bos/Makefile.in | 5 +-
src/libadmin/kas/Makefile.in | 3 +-
src/libadmin/samples/Makefile.in | 9 +++
src/libadmin/samples/rxdebug_peers.c | 4 +
src/libadmin/test/Makefile.in | 3 +
src/libadmin/vos/Makefile.in | 2 +-
src/libafsauthent/Makefile.in | 2 +-
src/libafsrpc/Makefile.in | 10 ++--
src/libuafs/Makefile.common.in | 38 ++++++------
src/ptserver/Makefile.in | 1 +
src/rxkad/Makefile.in | 5 +-
src/tviced/Makefile.in | 8 +-
src/ubik/Makefile.in | 7 ++
src/ubik/ubikclient.c | 3 +
src/uss/Makefile.in | 6 +-
src/viced/Makefile.in | 2 +-
src/vlserver/Makefile.in | 2 +
src/vol/Makefile.in | 3 +
src/volser/Makefile.in | 6 ++
src/volser/vol-dump.c | 3 +
src/volser/vsprocs.c | 3 +
40 files changed, 285 insertions(+), 43 deletions(-)
--
OpenAFS Master Repository