summaryrefslogtreecommitdiffstats
path: root/Utilities/cmbzip2
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-09-10 12:56:37 (GMT)
committerBrad King <brad.king@kitware.com>2010-09-10 13:00:48 (GMT)
commit87fde60563a3915234b33192d7f20b2af0c37206 (patch)
tree0a90ef2a434ca5bca2ecd67cc741dfb7dec59cc7 /Utilities/cmbzip2
parentf2b4a466779f5481c79d711ee2601d60ce41a6ad (diff)
downloadCMake-87fde60563a3915234b33192d7f20b2af0c37206.zip
CMake-87fde60563a3915234b33192d7f20b2af0c37206.tar.gz
CMake-87fde60563a3915234b33192d7f20b2af0c37206.tar.bz2
Suppress -Wcast-align in curl and bzip2
Trust upstream developers of third-party code.
Diffstat (limited to 'Utilities/cmbzip2')
-rw-r--r--Utilities/cmbzip2/bzlib_private.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Utilities/cmbzip2/bzlib_private.h b/Utilities/cmbzip2/bzlib_private.h
index 147dbb8..02a667f 100644
--- a/Utilities/cmbzip2/bzlib_private.h
+++ b/Utilities/cmbzip2/bzlib_private.h
@@ -47,6 +47,9 @@
/* warning C4127: conditional expression is constant*/
# pragma warning(disable:4127)
#endif
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wcast-align"
+#endif
/*-- General stuff. --*/