Suppress -Wcast-align in curl and bzip2

Trust upstream developers of third-party code.
This commit is contained in:
Brad King 2010-09-10 08:56:37 -04:00
parent f2b4a46677
commit 87fde60563
2 changed files with 7 additions and 0 deletions

View File

@ -47,6 +47,9 @@
/* warning C4127: conditional expression is constant*/ /* warning C4127: conditional expression is constant*/
# pragma warning(disable:4127) # pragma warning(disable:4127)
#endif #endif
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wcast-align"
#endif
/*-- General stuff. --*/ /*-- General stuff. --*/

View File

@ -42,6 +42,10 @@
#define WIN32 #define WIN32
#endif #endif
#if defined(__clang__)
# pragma clang diagnostic ignored "-Wcast-align"
#endif
/* /*
* Include configuration script results or hand-crafted * Include configuration script results or hand-crafted
* configuration file for platforms which lack config tool. * configuration file for platforms which lack config tool.