Compiling fixes

- add /TP on old IA64 compiler (sdk71)
- disable C4389 warning for flzma2
This commit is contained in:
Tino Reichardt
2018-11-06 18:23:53 +01:00
parent eff4d316fa
commit 68f3ed1f3c
4 changed files with 7 additions and 1 deletions

View File

@@ -28,6 +28,9 @@ extern "C" {
#if defined(_MSC_VER) /* Visual Studio */
# include <stdlib.h> /* _byteswap_ulong */
# include <intrin.h> /* _byteswap_* */
# pragma warning(disable : 4389) /* disable: C4389: '==' : signed/unsigned mismatch */
#endif
#endif
#if defined(__GNUC__)
# define MEM_STATIC static __inline __attribute__((unused))

View File

@@ -102,6 +102,7 @@ extern "C" {
#elif defined(_MSC_VER)
# define UTIL_STATIC static __inline
# pragma warning(disable : 4996) /* disable: C4996: 'strncpy': This function or variable may be unsafe. */
# pragma warning(disable : 4389) /* disable: C4389: '==' : signed/unsigned mismatch */
#else
# define UTIL_STATIC static /* this version may generate warnings for unused static functions; disable the relevant warning */
#endif