diff options
author | Brad King <brad.king@kitware.com> | 2016-11-03 15:23:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-10 13:26:55 (GMT) |
commit | bb01f20e993bbd19b00e07ff0094b155aa0859de (patch) | |
tree | 5b899e4e89f3a0480d699d340cb583c7855982e0 /Utilities/cmlibrhash/librhash | |
parent | 31bb727f3b239b541e1ff5679b3c461e9a05f227 (diff) | |
download | CMake-bb01f20e993bbd19b00e07ff0094b155aa0859de.zip CMake-bb01f20e993bbd19b00e07ff0094b155aa0859de.tar.gz CMake-bb01f20e993bbd19b00e07ff0094b155aa0859de.tar.bz2 |
librhash: Disable warnings to avoid changing 3rd party code
Add '-w' or equivalent flag on compilers supporting it.
Tell MSVC to use its lowest warning level inside librhash sources.
Diffstat (limited to 'Utilities/cmlibrhash/librhash')
-rw-r--r-- | Utilities/cmlibrhash/librhash/ustd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmlibrhash/librhash/ustd.h b/Utilities/cmlibrhash/librhash/ustd.h index 38c4e3e..5bd9aac 100644 --- a/Utilities/cmlibrhash/librhash/ustd.h +++ b/Utilities/cmlibrhash/librhash/ustd.h @@ -5,6 +5,10 @@ /* Include KWSys Large File Support configuration. */ #include <cmsys/Configure.h> +#if defined(_MSC_VER) +# pragma warning(push,1) +#endif + #if _MSC_VER >= 1300 # define int64_t __int64 |