Fix warnings-as-errors for clang
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 15 Feb 2013 17:08:45 +0000 (17:08 +0000)
committerDerrick Brashear <shadow@your-file-system.com>
Wed, 20 Feb 2013 12:15:46 +0000 (04:15 -0800)
commitf63047a3d1d0ed27c1efdde9ca81b0e62f9f6e69
treebf74e29afa3adcb1d5a7d3db685fb6bdb7a88a3c
parent5fc0746ac902dea7f5f8419b7eb735ccc0c54a10
Fix warnings-as-errors for clang

It seems like some versions of clang have a problem with using
pragmas to stop particular warnings being converted to errors with
-Werror. These compilers require that the warning be ignored completely
in order to suppress it.

Make the necessary changes to afsd and bozo, and update README.WARNINGS
to note the problem.

Change-Id: I66038130695d2ad27c289f29bcd8f6f2eddf1ded
Reviewed-on: http://gerrit.openafs.org/9135
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
README.WARNINGS
src/afsd/afsd_kernel.c
src/bozo/bosserver.c