Closed as not planned
Description
Host system: x86_64-gentoo-linux-musl (1/2)
-- The C compiler identification is Clang 14.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /home/user/zig-bootstrap/out/host/bin/zig
-- Check for working C compiler: /home/user/zig-bootstrap/out/host/bin/zig - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/home/user/zig-bootstrap/out/host/bin/zig"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c57bf/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c57bf.dir/build.make CMakeFiles/cmTC_c57bf.dir/build
gmake[1]: Entering directory '/home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c57bf.dir/testCCompiler.c.obj
/home/user/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -s -target aarch64_be-windows-gnu -mcpu=baseline -MD -MT CMakeFiles/cmTC_c57bf.dir/testCCompiler.c.obj -MF CMakeFiles/cmTC_c57bf.dir/testCCompiler.c.obj.d -o CMakeFiles/cmTC_c57bf.dir/testCCompiler.c.obj -c /home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_c57bf.exe
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c57bf.dir/link.txt --verbose=1
/usr/bin/cmake -E rm -f CMakeFiles/cmTC_c57bf.dir/objects.a
/home/user/zig-bootstrap/out/host/bin/llvm-ar qc CMakeFiles/cmTC_c57bf.dir/objects.a @CMakeFiles/cmTC_c57bf.dir/objects1
/home/user/zig-bootstrap/out/host/bin/zig cc -fno-sanitize=all -s -target aarch64_be-windows-gnu -mcpu=baseline -Wl,--whole-archive CMakeFiles/cmTC_c57bf.dir/objects.a -Wl,--no-whole-archive -o cmTC_c57bf.exe -Wl,--out-implib,libcmTC_c57bf.dll.a -Wl,--major-image-version,0,--minor-image-version,0 @CMakeFiles/cmTC_c57bf.dir/linkLibs.rsp
In file included from In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tlsmthread.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:9:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/_mingw.h:In file included from 272/home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tls_atexit.c::212: :
error: In file included from Only Win32 target is supported!/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h
:9:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/_mingw.h:272:2: error: Only Win32 target is supported!
/home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/dll_argv.c#error Only Win32 target is supported!
^
#error Only Win32 target is supported!
^
:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/include/internal.h:10:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/crtdefs.h:10:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/corecrt.h:10:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/_mingw.h:272:2: error: Only Win32 target is supported!
#error Only Win32 target is supported!
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/gccmain.c:7:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:9:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/_mingw.h:272:2: error: Only Win32 target is supported!
#error Only Win32 target is supported!
^
In file included from In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/dll_argv.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/include/internal.h:17:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:51:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tlsmthread.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tls_atexit.c:12:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h _SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count);:154
:
^/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:
51:3: error: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes:
16:17: note: expanded from macro '_SECIMP'
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:#define _SECIMP __declspec(dllimport)
^
69 _SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h#define _SECIMP __declspec(dllimport)
^
:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:51:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
_SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tls_atexit.c:12:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/dll_argv.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/include/internal.h:17:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:26:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from _SECIMP errno_t __cdecl strerror_s(char *_Buf,size_t _SizeInBytes,int _ErrNum);/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:26:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h _SECIMP errno_t __cdecl strerror_s(char *_Buf,size_t _SizeInBytes,int _ErrNum);
^
:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
16:#define _SECIMP __declspec(dllimport)
^
17: note: expanded from macro '_SECIMP'
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/gccmain.c:7:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:51:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
#define _SECIMP __declspec(dllimport)
^
_SECIMP errno_t __cdecl memcpy_s (void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tlsmthread.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:26:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:17: _SECIMP errno_t __cdecl strerror_s(char *_Buf,size_t _SizeInBytes,int _ErrNum);note: expanded from macro '_SECIMP'
^#define _SECIMP __declspec(dllimport)
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tls_atexit.c:12:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/dll_argv.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/include/internal.h:17:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:50:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
_SECIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:50:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
: _SECIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count);16:17: note: expanded from macro '_SECIMP'
^In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tlsmthread.c#define _SECIMP __declspec(dllimport):
11 ^:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:50:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16: _SECIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h17: note: expanded from macro '_SECIMP'
:#define _SECIMP __declspec(dllimport)
^
16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/gccmain.c:7:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:26:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
_SECIMP errno_t __cdecl strerror_s(char *_Buf,size_t _SizeInBytes,int _ErrNum);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
^
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/gccmain.c:7:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h:163:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:635:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/guiddef.h:154:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:190:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/sec_api/string_s.h:50:3: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
_SECIMP errno_t __cdecl memmove_s(void *_dest,size_t _numberOfElements,const void *_src,size_t _count);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/string.h:16:17: note: expanded from macro '_SECIMP'
#define _SECIMP __declspec(dllimport)
^
In file included from In file included from In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tlsmthread.c/home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/tls_atexit.c::1211:
:
In file included from In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h::69:
69In file included from :
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:In file included from 9/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h:
:In file included from 9:
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.hIn file included from :/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h163::
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h163::
7716/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h::57716: :error: 5'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes:
error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/crt/dll_argv.c:11:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/mingw/include/internal.h NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
^
:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18 NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);:
note: ^expanded from macro 'NTSYSAPI'
17/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: #define NTSYSAPI DECLSPEC_IMPORTnote:
expanded from macro 'NTSYSAPI' ^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windows.h:69:
#define NTSYSAPI DECLSPEC_IMPORTIn file included from
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/windef.h ^:
9:
In file included from /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/minwindef.h::154163::
25/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:: 7716note: :expanded from macro 'DECLSPEC_IMPORT'5
: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:#define DECLSPEC_IMPORT __declspec (dllimport)154:25: note: expanded from macro 'DECLSPEC_IMPORT'
^
#define DECLSPEC_IMPORT __declspec (dllimport)
^
NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h7719::77195::5 :error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributeserror:
'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
276:18 NTSYSAPI VOID NTAPI RtlCaptureContext (PCONTEXT ContextRecord);: note: expanded from macro 'NTSYSAPI'
NTSYSAPI VOID NTAPI RtlCaptureContext (PCONTEXT ContextRecord);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: #define NTSYSAPI DECLSPEC_IMPORTexpanded from macro 'NTSYSAPI'
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
^
:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276#define NTSYSAPI DECLSPEC_IMPORT:
18 ^:
note: expanded from macro 'NTSYSAPI'/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define DECLSPEC_IMPORT __declspec (dllimport):154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define DECLSPEC_IMPORT __declspec (dllimport)
^
^#define DECLSPEC_IMPORT __declspec (dllimport)
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7720:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:7719:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:7720:5 NTSYSAPI VOID NTAPI RtlCaptureContext (PCONTEXT ContextRecord);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h NTSYSAPI SIZE_T NTAPI RtlCompareMemory (const VOID *Source1, const VOID *Source2, SIZE_T Length);:
276 ^:
18: note: expanded from macro 'NTSYSAPI'/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:276:18: note: expanded from macro 'NTSYSAPI'
:#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154#define NTSYSAPI DECLSPEC_IMPORT:
25 ^:
note: expanded from macro 'DECLSPEC_IMPORT'/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
error: #define DECLSPEC_IMPORT __declspec (dllimport)
^
#define DECLSPEC_IMPORT __declspec (dllimport)
^
'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7720:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7744 NTSYSAPI SIZE_T NTAPI RtlCompareMemory (const VOID *Source1, const VOID *Source2, SIZE_T Length);: NTSYSAPI SIZE_T NTAPI RtlCompareMemory (const VOID *Source1, const VOID *Source2, SIZE_T Length);5
: ^
error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
#define NTSYSAPI DECLSPEC_IMPORT ^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
^#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:#define DECLSPEC_IMPORT __declspec (dllimport)154: NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable (PVOID *DynamicTable, PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD MaximumEntryCount, ULONG_PTR RangeBase, ULONG_PTR RangeEnd);25
: ^
note: expanded from macro 'DECLSPEC_IMPORT'
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
#define DECLSPEC_IMPORT __declspec (dllimport)
^
#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
^
#define DECLSPEC_IMPORT __declspec (dllimport)
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7744/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7744:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
7745:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable (PVOID *DynamicTable, PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD MaximumEntryCount, ULONG_PTR RangeBase, ULONG_PTR RangeEnd); NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable (PVOID *DynamicTable, PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD MaximumEntryCount, ULONG_PTR RangeBase, ULONG_PTR RangeEnd);
NTSYSAPI VOID NTAPI RtlGrowFunctionTable (PVOID DynamicTable, DWORD NewEntryCount);
^
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h18::276 :note: 18expanded from macro 'NTSYSAPI':
note: expanded from macro 'NTSYSAPI'
#define NTSYSAPI DECLSPEC_IMPORT
^
#define NTSYSAPI DECLSPEC_IMPORT
^/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:154:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h25::154 :note: 25expanded from macro 'DECLSPEC_IMPORT':
note: expanded from macro 'DECLSPEC_IMPORT'
^#define DECLSPEC_IMPORT __declspec (dllimport)
^#define DECLSPEC_IMPORT __declspec (dllimport)
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:7745:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
:7746#define DECLSPEC_IMPORT __declspec (dllimport):5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
NTSYSAPI VOID NTAPI RtlGrowFunctionTable (PVOID DynamicTable, DWORD NewEntryCount);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
^#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h NTSYSAPI VOID NTAPI RtlDeleteGrowableFunctionTable (PVOID DynamicTable);:
154 ^:
25: note: expanded from macro 'DECLSPEC_IMPORT'/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
:276:18: note: expanded from macro 'NTSYSAPI'
#define DECLSPEC_IMPORT __declspec (dllimport)#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
^/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
#define DECLSPEC_IMPORT __declspec (dllimport)
^
:7745/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h5:7747: :error: 5'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes:
error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:7746:5: NTSYSAPI VOID NTAPI RtlGrowFunctionTable (PVOID DynamicTable, DWORD NewEntryCount);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:276 NTSYSAPI BOOLEAN __cdecl RtlAddFunctionTable (PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, ULONG_PTR BaseAddress);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
NTSYSAPI VOID NTAPI RtlDeleteGrowableFunctionTable (PVOID DynamicTable);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: #define NTSYSAPI DECLSPEC_IMPORTexpanded from macro 'NTSYSAPI'
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
:#define DECLSPEC_IMPORT __declspec (dllimport)
^
18#define DECLSPEC_IMPORT __declspec (dllimport)
^
: note: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7747:5: error: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes:
7748:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
expanded from macro 'NTSYSAPI'
#define NTSYSAPI DECLSPEC_IMPORT NTSYSAPI BOOLEAN __cdecl RtlDeleteFunctionTable (PRUNTIME_FUNCTION FunctionTable);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: NTSYSAPI BOOLEAN __cdecl RtlAddFunctionTable (PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, ULONG_PTR BaseAddress);
note: ^expanded from macro 'NTSYSAPI'
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
#define NTSYSAPI DECLSPEC_IMPORT
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h#define NTSYSAPI DECLSPEC_IMPORT:
154 ^:
25: note: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:expanded from macro 'DECLSPEC_IMPORT'
154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define DECLSPEC_IMPORT __declspec (dllimport) ^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT'
#define DECLSPEC_IMPORT __declspec (dllimport)
^
^#define DECLSPEC_IMPORT __declspec (dllimport)
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7749:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7748:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
:7746:5: NTSYSAPI BOOLEAN __cdecl RtlDeleteFunctionTable (PRUNTIME_FUNCTION FunctionTable);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
#define NTSYSAPI DECLSPEC_IMPORTerror: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
NTSYSAPI BOOLEAN __cdecl RtlInstallFunctionTableCallback (ULONG_PTR TableIdentifier, ULONG_PTR BaseAddress, DWORD Length, PGET_RUNTIME_FUNCTION_CALLBACK Callback, PVOID Context, PCWSTR OutOfProcessCallbackDll); ^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:154:25: note: expanded from macro 'DECLSPEC_IMPORT' NTSYSAPI VOID NTAPI RtlDeleteGrowableFunctionTable (PVOID DynamicTable);
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
^
/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'#define DECLSPEC_IMPORT __declspec (dllimport)
^
Metadata
Metadata
Assignees
Labels
No labels