mirror of
https://github.com/Xevion/easy7zip.git
synced 2026-01-31 04:24:11 -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
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
@echo off
|
||||
|
||||
REM Microsoft Windows SDK 7.1 (VC=sdk71)
|
||||
REM Microsoft Visual Studio 2010 (VC=10.0)
|
||||
REM Microsoft Visual Studio 2012 (VC=11.0)
|
||||
REM Microsoft Visual Studio 2013 (VC=12.0)
|
||||
REM Microsoft Visual Studio 2015 (VC=14.0)
|
||||
REM Microsoft Visual Studio 2017 (VC=15.0)
|
||||
|
||||
REM to many vcvarsall.cmd calls will blow it up!
|
||||
set OPATH=%PATH%
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ set ROOT=%cd%\7zip
|
||||
if not defined OUTDIR set OUTDIR=%ROOT%\binIA64
|
||||
mkdir %OUTDIR%
|
||||
|
||||
set OPTS=CPU=IA64 MY_STATIC_LINK=1 /NOLOGO
|
||||
set OPTS=CPU=IA64 MY_STATIC_LINK=1 /NOLOGO /TP
|
||||
set LFLAGS=/SUBSYSTEM:WINDOWS,"5.02"
|
||||
|
||||
cd %ROOT%\Bundles\Format7zExtract
|
||||
|
||||
Reference in New Issue
Block a user