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.
This commit is contained in:
parent
9f77124ea8
commit
2461dd79e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user