Created
October 10, 2022 12:46
-
-
Save Thesola10/dd1039c2212b1dbdb6627a0adf330a80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/2wamq0wry0fkvlacx06j6icc3vvl0h2j-source | |
source root is source | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
build flags: -j12 -l12 SHELL=/nix/store/p7bpdnxqd3i5hwm92mrscf7mvxk66404-bash-5.1-p16/bin/bash DEST_HOME=/nix/store/2dw4v0k5h75lss4r2733wnaanh09kd3m-p7zip-x86_64-w64-mingw32-17.04 all3 | |
mkdir -p bin | |
make -C CPP/7zip/Bundles/Alone all | |
mkdir -p bin | |
mkdir -p bin/Codecs | |
make -C CPP/7zip/Bundles/Alone7z all | |
make -C CPP/7zip/Bundles/SFXCon all | |
make -C CPP/7zip/Bundles/Format7zFree all | |
make[1]: Entering directory '/build/source/CPP/7zip/Bundles/Alone' | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrcOpt.c | |
make[1]: Entering directory '/build/source/CPP/7zip/Bundles/Alone7z' | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zStream.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Aes.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrcOpt.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zStream.c | |
make[1]: Entering directory '/build/source/CPP/7zip/Bundles/SFXCon' | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/7zCrc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Alloc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/7zCrcOpt.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -D_NO_CRYPTO -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Bcj2.c | |
make[1]: Entering directory '/build/source/CPP/7zip/Bundles/Format7zFree' | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zBuf2.c | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:81:9: error: unknown type name 'WCHAR' | |
81 | typedef WCHAR *LPWSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:82:9: error: unknown type name 'CHAR' | |
82 | typedef CHAR *LPSTR; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:83:9: error: unknown type name 'TCHAR' | |
83 | typedef TCHAR *LPTSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:104:9: error: unknown type name 'BYTE' | |
104 | typedef BYTE BOOLEAN; | |
| ^~~~ | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:144:9: error: unknown type name 'WORD' | |
144 | WORD wYear; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:145:9: error: unknown type name 'WORD' | |
145 | WORD wMonth; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:146:9: error: unknown type name 'WORD' | |
146 | WORD wDayOfWeek; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:147:9: error: unknown type name 'WORD' | |
147 | WORD wDay; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:148:9: error: unknown type name 'WORD' | |
148 | WORD wHour; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:149:9: error: unknown type name 'WORD' | |
149 | WORD wMinute; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:150:9: error: unknown type name 'WORD' | |
150 | WORD wSecond; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:151:9: error: unknown type name 'WORD' | |
151 | WORD wMilliseconds; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:158:53: error: expected ')' before '*' token | |
158 | BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,FILETIME *); | |
| ^~ | |
| ) | |
../../../../CPP/include_windows/windows.h:159:41: error: unknown type name 'FILETIME' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:159:52: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:159:60: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:160:43: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:160:54: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:161:40: error: unknown type name 'FILETIME' | |
161 | BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,SYSTEMTIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:43: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:54: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:164:52: error: unknown type name 'FILETIME' | |
164 | BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:165:37: error: unknown type name 'FILETIME' | |
165 | VOID WINAPI GetSystemTimeAsFileTime(FILETIME * time); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:167:1: error: unknown type name 'DWORD' | |
167 | DWORD WINAPI GetTickCount(VOID); | |
| ^~~~~ | |
In file included from ../../../../CPP/include_windows/windows.h:181, | |
from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/basetyps.h:16:9: error: unknown type name 'GUID' | |
16 | typedef GUID IID; | |
| ^~~~ | |
../../../../CPP/include_windows/basetyps.h:17:9: error: unknown type name 'GUID' | |
17 | typedef GUID CLSID; | |
| ^~~~ | |
../../../../C/Alloc.c: In function 'MidAlloc': | |
../../../../C/Alloc.c:198:10: warning: implicit declaration of function 'VirtualAlloc' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:198:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'MidFree': | |
../../../../C/Alloc.c:209:3: warning: implicit declaration of function 'VirtualFree' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
209 | VirtualFree(address); | |
| ^~~~~~~~~~~ | |
../../../../C/Alloc.c: At top level: | |
../../../../C/Alloc.c:215:24: error: expected declaration specifiers or '...' before '*' token | |
215 | typedef SIZE_T (WINAPI *GetLargePageMinimumP)(); | |
| ^ | |
../../../../C/Alloc.c: In function 'SetLargePageSize': | |
../../../../C/Alloc.c:276:3: error: unknown type name 'GetLargePageMinimumP' | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:44: error: 'GetLargePageMinimumP' undeclared (first use in this function); did you mean 'largePageMinimum'? | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| largePageMinimum | |
../../../../C/Alloc.c:276:44: note: each undeclared identifier is reported only once for each function it appears in | |
../../../../C/Alloc.c:277:9: error: expected ',' or ';' before 'GetProcAddress' | |
277 | GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetLargePageMinimum"); | |
| ^~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:281:10: error: called object 'largePageMinimum' is not a function or function pointer | |
281 | size = largePageMinimum(); | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:24: note: declared here | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'BigAlloc': | |
../../../../C/Alloc.c:301:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
301 | void *res = VirtualAlloc( (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), 1); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:306:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
306 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
make[1]: *** [makefile.list:198: Alloc.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Alloc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zCrcOpt.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/7zStream.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/Aes.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Aes.c | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:81:9: error: unknown type name 'WCHAR' | |
81 | typedef WCHAR *LPWSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:82:9: error: unknown type name 'CHAR' | |
82 | typedef CHAR *LPSTR; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:83:9: error: unknown type name 'TCHAR' | |
83 | typedef TCHAR *LPTSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:104:9: error: unknown type name 'BYTE' | |
104 | typedef BYTE BOOLEAN; | |
| ^~~~ | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:144:9: error: unknown type name 'WORD' | |
144 | WORD wYear; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:145:9: error: unknown type name 'WORD' | |
145 | WORD wMonth; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:146:9: error: unknown type name 'WORD' | |
146 | WORD wDayOfWeek; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:147:9: error: unknown type name 'WORD' | |
147 | WORD wDay; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:148:9: error: unknown type name 'WORD' | |
148 | WORD wHour; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:149:9: error: unknown type name 'WORD' | |
149 | WORD wMinute; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:150:9: error: unknown type name 'WORD' | |
150 | WORD wSecond; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:151:9: error: unknown type name 'WORD' | |
151 | WORD wMilliseconds; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:158:53: error: expected ')' before '*' token | |
158 | BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,FILETIME *); | |
| ^~ | |
| ) | |
../../../../CPP/include_windows/windows.h:159:41: error: unknown type name 'FILETIME' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:159:52: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:159:60: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:160:43: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:160:54: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:161:40: error: unknown type name 'FILETIME' | |
161 | BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,SYSTEMTIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:43: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:54: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:164:52: error: unknown type name 'FILETIME' | |
164 | BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:165:37: error: unknown type name 'FILETIME' | |
165 | VOID WINAPI GetSystemTimeAsFileTime(FILETIME * time); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:167:1: error: unknown type name 'DWORD' | |
167 | DWORD WINAPI GetTickCount(VOID); | |
| ^~~~~ | |
In file included from ../../../../CPP/include_windows/windows.h:181, | |
from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/basetyps.h:16:9: error: unknown type name 'GUID' | |
16 | typedef GUID IID; | |
| ^~~~ | |
../../../../CPP/include_windows/basetyps.h:17:9: error: unknown type name 'GUID' | |
17 | typedef GUID CLSID; | |
| ^~~~ | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/Alloc.c | |
../../../../C/Alloc.c: In function 'MidAlloc': | |
../../../../C/Alloc.c:198:10: warning: implicit declaration of function 'VirtualAlloc' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:198:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'MidFree': | |
../../../../C/Alloc.c:209:3: warning: implicit declaration of function 'VirtualFree' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
209 | VirtualFree(address); | |
| ^~~~~~~~~~~ | |
../../../../C/Alloc.c: At top level: | |
../../../../C/Alloc.c:215:24: error: expected declaration specifiers or '...' before '*' token | |
215 | typedef SIZE_T (WINAPI *GetLargePageMinimumP)(); | |
| ^ | |
../../../../C/Alloc.c: In function 'SetLargePageSize': | |
../../../../C/Alloc.c:276:3: error: unknown type name 'GetLargePageMinimumP' | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:44: error: 'GetLargePageMinimumP' undeclared (first use in this function); did you mean 'largePageMinimum'? | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| largePageMinimum | |
../../../../C/Alloc.c:276:44: note: each undeclared identifier is reported only once for each function it appears in | |
../../../../C/Alloc.c:277:9: error: expected ',' or ';' before 'GetProcAddress' | |
277 | GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetLargePageMinimum"); | |
| ^~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:281:10: error: called object 'largePageMinimum' is not a function or function pointer | |
281 | size = largePageMinimum(); | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:24: note: declared here | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'BigAlloc': | |
../../../../C/Alloc.c:301:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
301 | void *res = VirtualAlloc( (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), 1); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:306:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
306 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
make[1]: *** [makefile.list:375: Alloc.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/Bcj2.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Alloc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Bcj2.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Bcj2Enc.c | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Blake2s.c | |
make[1]: Leaving directory '/build/source/CPP/7zip/Bundles/Alone7z' | |
make: *** [makefile:20: 7zr] Error 2 | |
make: *** Waiting for unfinished jobs.... | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DEXTRACT_ONLY -DNO_READ_FROM_CODER -D_SFX ../../../../C/Bra.c | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:81:9: error: unknown type name 'WCHAR' | |
81 | typedef WCHAR *LPWSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:82:9: error: unknown type name 'CHAR' | |
82 | typedef CHAR *LPSTR; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:83:9: error: unknown type name 'TCHAR' | |
83 | typedef TCHAR *LPTSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:104:9: error: unknown type name 'BYTE' | |
104 | typedef BYTE BOOLEAN; | |
| ^~~~ | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:144:9: error: unknown type name 'WORD' | |
144 | WORD wYear; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:145:9: error: unknown type name 'WORD' | |
145 | WORD wMonth; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:146:9: error: unknown type name 'WORD' | |
146 | WORD wDayOfWeek; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:147:9: error: unknown type name 'WORD' | |
147 | WORD wDay; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:148:9: error: unknown type name 'WORD' | |
148 | WORD wHour; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:149:9: error: unknown type name 'WORD' | |
149 | WORD wMinute; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:150:9: error: unknown type name 'WORD' | |
150 | WORD wSecond; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:151:9: error: unknown type name 'WORD' | |
151 | WORD wMilliseconds; | |
| ^~~~ | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:81:9: error: unknown type name 'WCHAR' | |
81 | typedef WCHAR *LPWSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:82:9: error: unknown type name 'CHAR' | |
82 | typedef CHAR *LPSTR; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:158:53: error: expected ')' before '*' token | |
158 | BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,FILETIME *); | |
| ^~ | |
| ) | |
../../../../CPP/include_windows/windows.h:83:9: error: unknown type name 'TCHAR' | |
83 | typedef TCHAR *LPTSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:159:41: error: unknown type name 'FILETIME' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:104:9: error: unknown type name 'BYTE' | |
104 | typedef BYTE BOOLEAN; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:159:52: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:159:60: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:160:43: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:160:54: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:161:40: error: unknown type name 'FILETIME' | |
161 | BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,SYSTEMTIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:43: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:54: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:164:52: error: unknown type name 'FILETIME' | |
164 | BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:165:37: error: unknown type name 'FILETIME' | |
165 | VOID WINAPI GetSystemTimeAsFileTime(FILETIME * time); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:167:1: error: unknown type name 'DWORD' | |
167 | DWORD WINAPI GetTickCount(VOID); | |
| ^~~~~ | |
In file included from ../../../../CPP/include_windows/windows.h:181, | |
from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/basetyps.h:16:9: error: unknown type name 'GUID' | |
16 | typedef GUID IID; | |
| ^~~~ | |
../../../../CPP/include_windows/basetyps.h:17:9: error: unknown type name 'GUID' | |
17 | typedef GUID CLSID; | |
| ^~~~ | |
In file included from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/windows.h:144:9: error: unknown type name 'WORD' | |
144 | WORD wYear; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:145:9: error: unknown type name 'WORD' | |
145 | WORD wMonth; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:146:9: error: unknown type name 'WORD' | |
146 | WORD wDayOfWeek; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:147:9: error: unknown type name 'WORD' | |
147 | WORD wDay; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:148:9: error: unknown type name 'WORD' | |
148 | WORD wHour; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:149:9: error: unknown type name 'WORD' | |
149 | WORD wMinute; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:150:9: error: unknown type name 'WORD' | |
150 | WORD wSecond; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:151:9: error: unknown type name 'WORD' | |
151 | WORD wMilliseconds; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:158:53: error: expected ')' before '*' token | |
158 | BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,FILETIME *); | |
| ^~ | |
| ) | |
../../../../CPP/include_windows/windows.h:159:41: error: unknown type name 'FILETIME' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:159:52: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:159:60: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:160:43: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:160:54: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:161:40: error: unknown type name 'FILETIME' | |
161 | BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,SYSTEMTIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:43: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:54: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:164:52: error: unknown type name 'FILETIME' | |
164 | BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:165:37: error: unknown type name 'FILETIME' | |
165 | VOID WINAPI GetSystemTimeAsFileTime(FILETIME * time); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:167:1: error: unknown type name 'DWORD' | |
167 | DWORD WINAPI GetTickCount(VOID); | |
| ^~~~~ | |
In file included from ../../../../CPP/include_windows/windows.h:181, | |
from ../../../../C/Alloc.c:7: | |
../../../../CPP/include_windows/basetyps.h:16:9: error: unknown type name 'GUID' | |
16 | typedef GUID IID; | |
| ^~~~ | |
../../../../CPP/include_windows/basetyps.h:17:9: error: unknown type name 'GUID' | |
17 | typedef GUID CLSID; | |
| ^~~~ | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Bra.c | |
../../../../C/Alloc.c: In function 'MidAlloc': | |
../../../../C/Alloc.c:198:10: warning: implicit declaration of function 'VirtualAlloc' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:198:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'MidFree': | |
../../../../C/Alloc.c:209:3: warning: implicit declaration of function 'VirtualFree' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
209 | VirtualFree(address); | |
| ^~~~~~~~~~~ | |
../../../../C/Alloc.c: At top level: | |
../../../../C/Alloc.c:215:24: error: expected declaration specifiers or '...' before '*' token | |
215 | typedef SIZE_T (WINAPI *GetLargePageMinimumP)(); | |
| ^ | |
In file included from ../../../../C/Bcj2Enc.c:15: | |
../../../../CPP/include_windows/windows.h:81:9: error: unknown type name 'WCHAR' | |
81 | typedef WCHAR *LPWSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:82:9: error: unknown type name 'CHAR' | |
82 | typedef CHAR *LPSTR; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:83:9: error: unknown type name 'TCHAR' | |
83 | typedef TCHAR *LPTSTR; | |
| ^~~~~ | |
../../../../CPP/include_windows/windows.h:104:9: error: unknown type name 'BYTE' | |
104 | typedef BYTE BOOLEAN; | |
| ^~~~ | |
../../../../C/Alloc.c: In function 'SetLargePageSize': | |
../../../../C/Alloc.c:276:3: error: unknown type name 'GetLargePageMinimumP' | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:44: error: 'GetLargePageMinimumP' undeclared (first use in this function); did you mean 'largePageMinimum'? | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| largePageMinimum | |
../../../../C/Alloc.c:276:44: note: each undeclared identifier is reported only once for each function it appears in | |
../../../../C/Alloc.c:277:9: error: expected ',' or ';' before 'GetProcAddress' | |
277 | GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetLargePageMinimum"); | |
| ^~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:281:10: error: called object 'largePageMinimum' is not a function or function pointer | |
281 | size = largePageMinimum(); | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:24: note: declared here | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'BigAlloc': | |
../../../../C/Alloc.c:301:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
301 | void *res = VirtualAlloc( (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), 1); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:306:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
306 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c: In function 'MidAlloc': | |
../../../../C/Alloc.c:198:10: warning: implicit declaration of function 'VirtualAlloc' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~ | |
make[1]: *** [makefile.list:130: Alloc.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
../../../../C/Alloc.c:198:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
198 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
x86_64-w64-mingw32-gcc -c -std=gnu11 -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O2 -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES -fPIC -DRegisterArc=DllRegisterArc -DRegisterCodec=DllRegisterCodec -DEXTERNAL_CODECS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE -DZSTD_MULTITHREAD -DNO_XXHASH -DFL2_7ZIP_BUILD ../../../../C/Bra86.c | |
../../../../C/Alloc.c: In function 'MidFree': | |
../../../../C/Alloc.c:209:3: warning: implicit declaration of function 'VirtualFree' [-Wimplicit-function-declaration[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration]] | |
209 | VirtualFree(address); | |
| ^~~~~~~~~~~ | |
../../../../C/Alloc.c: At top level: | |
../../../../C/Alloc.c:215:24: error: expected declaration specifiers or '...' before '*' token | |
215 | typedef SIZE_T (WINAPI *GetLargePageMinimumP)(); | |
| ^ | |
../../../../C/Alloc.c: In function 'SetLargePageSize': | |
../../../../C/Alloc.c:276:3: error: unknown type name 'GetLargePageMinimumP' | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
In file included from ../../../../C/Bcj2Enc.c:15: | |
../../../../CPP/include_windows/windows.h:144:9: error: unknown type name 'WORD' | |
144 | WORD wYear; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:145:9: error: unknown type name 'WORD' | |
145 | WORD wMonth; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:146:9: error: unknown type name 'WORD' | |
146 | WORD wDayOfWeek; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:147:9: error: unknown type name 'WORD' | |
147 | WORD wDay; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:148:9: error: unknown type name 'WORD' | |
148 | WORD wHour; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:149:9: error: unknown type name 'WORD' | |
149 | WORD wMinute; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:150:9: error: unknown type name 'WORD' | |
150 | WORD wSecond; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:151:9: error: unknown type name 'WORD' | |
151 | WORD wMilliseconds; | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:158:53: error: expected ')' before '*' token | |
158 | BOOL WINAPI DosDateTimeToFileTime(WORD,WORD,FILETIME *); | |
| ^~ | |
| ) | |
../../../../CPP/include_windows/windows.h:159:41: error: unknown type name 'FILETIME' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~~~~~ | |
../../../../C/Alloc.c:276:44: error: 'GetLargePageMinimumP' undeclared (first use in this function); did you mean 'largePageMinimum'? | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~~~~~ | |
| largePageMinimum | |
../../../../C/Alloc.c:276:44: note: each undeclared identifier is reported only once for each function it appears in | |
../../../../CPP/include_windows/windows.h:159:52: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../C/Alloc.c:277:9: error: expected ',' or ';' before 'GetProcAddress' | |
277 | GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "GetLargePageMinimum"); | |
| ^~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:281:10: error: called object 'largePageMinimum' is not a function or function pointer | |
281 | size = largePageMinimum(); | |
| ^~~~~~~~~~~~~~~~ | |
../../../../C/Alloc.c:276:24: note: declared here | |
276 | GetLargePageMinimumP largePageMinimum = (GetLargePageMinimumP) | |
| ^~~~~~~~~~~~~~~~ | |
../../../../CPP/include_windows/windows.h:159:60: error: unknown type name 'WORD' | |
159 | BOOL WINAPI FileTimeToDosDateTime(CONST FILETIME *,WORD *, WORD *); | |
| ^~~~ | |
../../../../CPP/include_windows/windows.h:160:43: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../C/Alloc.c: In function 'BigAlloc': | |
../../../../C/Alloc.c:301:17: warning: initialization of 'void *' from 'int' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
301 | void *res = VirtualAlloc( (size + g_LargePageSize - 1) & (~(g_LargePageSize - 1)), 1); | |
| ^~~~~~~~~~~~ | |
../../../../C/Alloc.c:306:10: warning: returning 'int' from a function with return type 'void *' makes pointer from integer without a cast [-Wint-conversion[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-conversion]] | |
306 | return VirtualAlloc(size, 0); | |
| ^~~~~~~~~~~~~~~~~~~~~ | |
../../../../CPP/include_windows/windows.h:160:54: error: unknown type name 'FILETIME' | |
160 | BOOL WINAPI FileTimeToLocalFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:161:40: error: unknown type name 'FILETIME' | |
161 | BOOL WINAPI FileTimeToSystemTime(CONST FILETIME *,SYSTEMTIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:43: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:162:54: error: unknown type name 'FILETIME' | |
162 | BOOL WINAPI LocalFileTimeToFileTime(CONST FILETIME *,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:164:52: error: unknown type name 'FILETIME' | |
164 | BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,FILETIME *); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:165:37: error: unknown type name 'FILETIME' | |
165 | VOID WINAPI GetSystemTimeAsFileTime(FILETIME * time); | |
| ^~~~~~~~ | |
../../../../CPP/include_windows/windows.h:167:1: error: unknown type name 'DWORD' | |
167 | DWORD WINAPI GetTickCount(VOID); | |
| ^~~~~ | |
In file included from ../../../../CPP/include_windows/windows.h:181, | |
from ../../../../C/Bcj2Enc.c:15: | |
../../../../CPP/include_windows/basetyps.h:16:9: error: unknown type name 'GUID' | |
16 | typedef GUID IID; | |
| ^~~~ | |
../../../../CPP/include_windows/basetyps.h:17:9: error: unknown type name 'GUID' | |
17 | typedef GUID CLSID; | |
| ^~~~ | |
make[1]: *** [makefile.list:412: Alloc.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
make[1]: *** [makefile.list:416: Bcj2Enc.o] Error 1 | |
make[1]: Leaving directory '/build/source/CPP/7zip/Bundles/Alone' | |
make: *** [makefile:17: 7za] Error 2 | |
make[1]: Leaving directory '/build/source/CPP/7zip/Bundles/SFXCon' | |
make: *** [makefile:39: sfx] Error 2 | |
make[1]: Leaving directory '/build/source/CPP/7zip/Bundles/Format7zFree' | |
make: *** [makefile:43: common7z] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment