Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aarch64_be-windows-gnu #94

Closed
LinuxUserGD opened this issue Aug 7, 2022 · 3 comments
Closed

aarch64_be-windows-gnu #94

LinuxUserGD opened this issue Aug 7, 2022 · 3 comments

Comments

@LinuxUserGD
Copy link
Contributor

LinuxUserGD commented Aug 7, 2022

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)
    
                            ^
@LinuxUserGD
Copy link
Contributor Author

LinuxUserGD commented Aug 7, 2022

(2/2)

    :#define NTSYSAPI DECLSPEC_IMPORT276:18: note: expanded from macro 'NTSYSAPI'
    
                     ^/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h#define NTSYSAPI DECLSPEC_IMPORT:
    7749                 ^:
    5:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h :error: 154'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes: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:25/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7747:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    : note: expanded from macro 'DECLSPEC_IMPORT'
        NTSYSAPI BOOLEAN __cdecl RtlAddFunctionTable (PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, ULONG_PTR BaseAddress);    NTSYSAPI BOOLEAN __cdecl RtlInstallFunctionTableCallback (ULONG_PTR TableIdentifier, ULONG_PTR BaseAddress, DWORD Length, PGET_RUNTIME_FUNCTION_CALLBACK Callback, PVOID Context, PCWSTR OutOfProcessCallbackDll);
    #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::276276::1818::  note: note: expanded from macro 'NTSYSAPI'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
    :25:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h :note: 154expanded from macro 'DECLSPEC_IMPORT':
    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:7750:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    :7750/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
    :5: error:     NTSYSAPI VOID __cdecl RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);'__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        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_IMPORT
                     ^
    /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 __cdecl RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:#define DECLSPEC_IMPORT __declspec (dllimport)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
    :                 ^7749
    :5:/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 attributes154
    :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)
                            ^
    276:18: note:     NTSYSAPI BOOLEAN __cdecl RtlInstallFunctionTableCallback (ULONG_PTR TableIdentifier, ULONG_PTR BaseAddress, DWORD Length, PGET_RUNTIME_FUNCTION_CALLBACK Callback, PVOID Context, PCWSTR OutOfProcessCallbackDll);expanded from macro 'NTSYSAPI'
    
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7762:5: #define NTSYSAPI DECLSPEC_IMPORTerror: 
    '__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: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:276:18: note: expanded from macro 'NTSYSAPI'
    
        NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue);                        ^#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:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7762: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 attributes7750
    :5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    276:18: note:     NTSYSAPI VOID __cdecl RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.hexpanded from macro 'NTSYSAPI'
        NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18:#define NTSYSAPI DECLSPEC_IMPORT note: 
    expanded from macro 'NTSYSAPI'                 ^
    
    /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: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:154:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7762: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:7763:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    25: note: expanded from macro 'DECLSPEC_IMPORT'    NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue);
        ^
        NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage);/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
    :    ^276
    :18: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.hnote: expanded from macro 'NTSYSAPI':
    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: #define NTSYSAPI DECLSPEC_IMPORTexpanded 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'
    #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:7763:#define DECLSPEC_IMPORT __declspec (dllimport)5
    :                         ^error: 
    '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
                            ^
        NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage);/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7763: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:7775:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        ^
        NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage);
        ^
    /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#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'
        NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:#define NTSYSAPI DECLSPEC_IMPORT
    18                 ^:
     note: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.hexpanded from macro 'NTSYSAPI':154
    :25: note: expanded from macro 'DECLSPEC_IMPORT'
    :#define NTSYSAPI DECLSPEC_IMPORT154:25: #define DECLSPEC_IMPORT __declspec (dllimport)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: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.hexpanded from macro 'DECLSPEC_IMPORT':
    7775:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    
                            ^#define DECLSPEC_IMPORT __declspec (dllimport)
    
                            ^
        NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);/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.h::77757776::5: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: note:     NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18: note: expanded from macro 'NTSYSAPI'
    expanded from macro 'NTSYSAPI'    NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
    #define NTSYSAPI DECLSPEC_IMPORT
                     ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
    #define NTSYSAPI DECLSPEC_IMPORT
                     ^
        ^/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
    :154:25:/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h :note: expanded from macro 'DECLSPEC_IMPORT'276
    :18: note: expanded from macro 'NTSYSAPI'
    :#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    154#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:7776:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    25#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    : note: expanded from macro 'DECLSPEC_IMPORT'
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:    NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);7777:#define DECLSPEC_IMPORT __declspec (dllimport)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/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7776:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    :276:18: note: expanded from macro 'NTSYSAPI'
        NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
        NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
        ^
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276:18/home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:: 276note: :expanded from macro 'NTSYSAPI'18
    : note: expanded from macro 'NTSYSAPI'
    #define NTSYSAPI DECLSPEC_IMPORT#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.h::25154:: 25:note:  expanded from macro 'DECLSPEC_IMPORT'note: 
    expanded from macro 'DECLSPEC_IMPORT'
    
                     ^#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    #define DECLSPEC_IMPORT __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:
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7716: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:7777: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:154:    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.h25: note: expanded from macro 'DECLSPEC_IMPORT'
    :276#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    :18: note: /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7777:fatal error: 5too many errors emitted, stopping now [-ferror-limit=]:
     error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.hexpanded from macro 'NTSYSAPI'
    :276#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'
    :18: #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    note: expanded from macro 'NTSYSAPI'    NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h
    :#define NTSYSAPI DECLSPEC_IMPORT
                     ^
    /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:1547719::255::  note: error: expanded from macro 'DECLSPEC_IMPORT''__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
    
    276:#define DECLSPEC_IMPORT __declspec (dllimport)18: 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
                            ^#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'
    :154#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'
    :25#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    : note: /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
        NTSYSAPI SIZE_T NTAPI RtlCompareMemory (const VOID *Source1, const VOID *Source2, SIZE_T Length);
        ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:276fatal error: :18too many errors emitted, stopping now [-ferror-limit=]:
     note: expanded from macro 'NTSYSAPI'
    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)#define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    
                            ^
    /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
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
        NTSYSAPI DWORD NTAPI RtlAddGrowableFunctionTable (PVOID *DynamicTable, PRUNTIME_FUNCTION FunctionTable, DWORD EntryCount, DWORD MaximumEntryCount, ULONG_PTR RangeBase, ULONG_PTR RangeEnd);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /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
        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: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:7746:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI VOID NTAPI RtlDeleteGrowableFunctionTable (PVOID DynamicTable);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7747:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        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'
    #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:7748:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        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_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:7749:5: error: '__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: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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7750:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI VOID __cdecl RtlRestoreContext (PCONTEXT ContextRecord, struct _EXCEPTION_RECORD *ExceptionRecord);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7762:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI VOID NTAPI RtlUnwind (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7763:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI PVOID NTAPI RtlPcToFileHeader (PVOID PcValue, PVOID *BaseOfImage);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7775:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (ULONG_PTR ControlPc, PULONG_PTR ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7776:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    /home/user/zig-bootstrap/out/host/lib/zig/libc/include/any-windows-any/winnt.h:7777:5: error: '__declspec' attributes are not enabled; use '-fdeclspec' or '-fms-extensions' to enable support for __declspec attributes
        NTSYSAPI PEXCEPTION_ROUTINE NTAPI RtlVirtualUnwind (DWORD HandlerType, ULONG_PTR ImageBase, ULONG_PTR ControlPc, PRUNTIME_FUNCTION FunctionEntry, PCONTEXT ContextRecord, PVOID *HandlerData, PULONG_PTR EstablisherFrame, PKNONVOLATILE_CONTEXT_POINTERS ContextPointers);
        ^
    /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'
    #define DECLSPEC_IMPORT __declspec (dllimport)
                            ^
    fatal error: too many errors emitted, stopping now [-ferror-limit=]
    20 errors generated.
    20 errors generated.
    gmake[1]: *** [CMakeFiles/cmTC_c57bf.dir/build.make:102: cmTC_c57bf.exe] Error 1
    gmake[1]: Leaving directory '/home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_c57bf/fast] Error 2
    20 errors generated.
    20 errors generated.
    
    

  

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:4 (project)


-- Configuring incomplete, errors occurred!
See also "/home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeOutput.log".
See also "/home/user/zig-bootstrap/out/build-zlib-aarch64_be-windows-gnu-baseline/CMakeFiles/CMakeError.log".

@nektro
Copy link

nektro commented Aug 7, 2022

target not supported by upstream afaik

andrewrk pushed a commit that referenced this issue Aug 7, 2022
@alexrp
Copy link
Member

alexrp commented Aug 21, 2024

This target has been removed from std.zig.target; big-endian Windows is not a thing.

@andrewrk andrewrk closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants