mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 02:07:07 -06:00
Compiling fixes
- add /TP on old IA64 compiler (sdk71) - disable C4389 warning for flzma2
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user