allyourcodebase / allyourcodebase/boringssl

MSVC support

未關閉
#1 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Zig
星號
1
分支
2
PR 合併指標
30 天內沒有已合併 PR

描述

Building with `zig build -Dtarget=x86-64-windows-msvc` fails tragically with various std conflicts:

```
error: sub-compilation of libcxxabi failed
:1:1: note: argument unused during compilation: '-nostdinc++'
:1:1: note: argument unused during compilation: '-nostdinc++'
C:\Zig\lib\libcxxabi\src/stdlib_new_delete.cpp:57:32: note: no member named 'get_new_handler' in namespace 'std'
std::new_handler nh = std::get_new_handler();
~~~~~^
C:\Zig\lib\libcxxabi\src/stdlib_new_delete.cpp:150:32: note: no member named 'get_new_handler' in namespace 'std'
std::new_handler nh = std::get_new_handler();

:1:1: note: too many errors emitted, stopping now
:1:1: note: argument unused during compilation: '-nostdinc++'
:1:1: note: argument unused during compilation: '-nostdinc++'
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include/vcruntime_typeinfo.h:137:13: note: target of using declaration conflicts with declaration already in scope
using ::type_info;
....
```

MSVC is the tested platform for boringssl on windows so should get this working eventually.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。