diff options
author | Brad King <brad.king@kitware.com> | 2009-11-04 18:09:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-11-04 18:09:41 (GMT) |
commit | ccd831c559b0dfbd94a0ce28c409c4dd97dbf29d (patch) | |
tree | 29c35318cad465d83b07ee105db5838bf2f87520 /Utilities | |
parent | cdbbe00a8bf17950614675706e33142673956e9f (diff) | |
download | CMake-ccd831c559b0dfbd94a0ce28c409c4dd97dbf29d.zip CMake-ccd831c559b0dfbd94a0ce28c409c4dd97dbf29d.tar.gz CMake-ccd831c559b0dfbd94a0ce28c409c4dd97dbf29d.tar.bz2 |
libarchive: Disable MSVC warnings
We disable warnings to silence them while making minimal changes to
third-party code.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_private.h b/Utilities/cmlibarchive/libarchive/archive_private.h index 4a184c6..c66cf14 100644 --- a/Utilities/cmlibarchive/libarchive/archive_private.h +++ b/Utilities/cmlibarchive/libarchive/archive_private.h @@ -35,6 +35,10 @@ #include "archive.h" #include "archive_string.h" +#if defined(_MSC_VER) +# pragma warning (push,1) +#endif + #if defined(__GNUC__) && (__GNUC__ > 2 || \ (__GNUC__ == 2 && __GNUC_MINOR__ >= 5)) #define __LA_DEAD __attribute__((__noreturn__)) |