diff options
author | Brad King <brad.king@kitware.com> | 2018-08-06 14:29:33 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-08-06 14:29:33 (GMT) |
commit | 2461dd79e58a51d5d56cb8391f14968d765fa072 (patch) | |
tree | 927f448904474fbfa460b62b01c375c1dd83f32d /Utilities | |
parent | 9f77124ea8ab7598a90a5d1271738b0a077d15c6 (diff) | |
download | CMake-2461dd79e58a51d5d56cb8391f14968d765fa072.zip CMake-2461dd79e58a51d5d56cb8391f14968d765fa072.tar.gz CMake-2461dd79e58a51d5d56cb8391f14968d765fa072.tar.bz2 |
liblzma: Suppress MSVC warning parameter difference warning
Some `.c` sources add `restrict` to their pointer types to tell
the optimizer that there is no aliasing. These do not appear in
the corresponding `.h` declarations so MSVC warns.
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmliblzma/common/sysdefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmliblzma/common/sysdefs.h b/Utilities/cmliblzma/common/sysdefs.h index 737f85a..22f487b 100644 --- a/Utilities/cmliblzma/common/sysdefs.h +++ b/Utilities/cmliblzma/common/sysdefs.h @@ -18,6 +18,7 @@ #if defined(_MSC_VER) # pragma warning(push,1) +# pragma warning(disable: 4028) /* formal parameter different from decl */ # pragma warning(disable: 4142) /* benign redefinition of type */ # pragma warning(disable: 4761) /* integral size mismatch in argument */ #endif |