From: Benjamin Kaduk Date: Fri, 28 Aug 2015 01:20:58 +0000 (-0500) Subject: CODING: permit --enable-checking with clang X-Git-Tag: openafs-stable-1_8_0pre1~206 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=33020f573bb52c00e1a2f2f0da8062e17b6d1278 CODING: permit --enable-checking with clang Starting at 3.2, a mostly arbitrarily selected version. Change-Id: I9f6a946e2571b939911cbf4b1b64e1d62e39e1a3 Reviewed-on: http://gerrit.openafs.org/11991 Tested-by: BuildBot Reviewed-by: Benjamin Kaduk --- diff --git a/CODING b/CODING index 8e1891d..0881c98 100644 --- a/CODING +++ b/CODING @@ -200,10 +200,11 @@ to reduce the number of warnings in the OpenAFS tree. In an attempt to prevent warnings from creeping back in, we now have the ability to break the build when new warnings appear. -This is only available for systems with gcc 4.2 or later, and is disabled -unless the --enable-checking option is supplied to configure. Because we -can't remove all of the warnings, we permit file by file (and warning by -warning) disabling of specific warnings. The --enable-checking=all prevents +This is only available for systems with gcc 4.2 or later or clang 3.2 or +later, and is disabled unless the --enable-checking option is supplied to +configure. Because we can't remove all of the warnings, we permit file by +file (and warning by warning) disabling of specific warnings. The +--enable-checking=all option prevents this, and errors for any file containing a warning. Disabling warnings