diff options
author | Brad King <brad.king@kitware.com> | 2016-05-05 19:15:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-05-05 19:17:16 (GMT) |
commit | 58216d16946b7a14570f1a1dd4d260ed146b3faa (patch) | |
tree | d79aaba059581b513316a2912a28e963b7e66be5 /Utilities/cmexpat/lib | |
parent | f177c8a0a7695bfee618e08357291d893b45613b (diff) | |
download | CMake-58216d16946b7a14570f1a1dd4d260ed146b3faa.zip CMake-58216d16946b7a14570f1a1dd4d260ed146b3faa.tar.gz CMake-58216d16946b7a14570f1a1dd4d260ed146b3faa.tar.bz2 |
expat: Suppress compiler warnings
We are not developing expat so we do not care about warnings.
Diffstat (limited to 'Utilities/cmexpat/lib')
-rw-r--r-- | Utilities/cmexpat/lib/winconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Utilities/cmexpat/lib/winconfig.h b/Utilities/cmexpat/lib/winconfig.h index 908d714..d7dad38 100644 --- a/Utilities/cmexpat/lib/winconfig.h +++ b/Utilities/cmexpat/lib/winconfig.h @@ -19,4 +19,9 @@ #include "expat_config.h" +#if defined(_MSC_VER) +# pragma warning(push,1) +# pragma warning(disable:4311) /* pointer truncation */ +#endif + #endif /* ndef WINCONFIG_H */ |