PurC icon indicating copy to clipboard operation
PurC copied to clipboard

Build fail on loongarch

Open hawordh opened this issue 6 months ago • 3 comments

[ 16%] Built target WTF_CopyHeaders [ 22%] Built target WTF [ 22%] Built target csspropgen [ 48%] Built target CSSEng [ 48%] Built target CSSEng_CopyHeaders [ 49%] Built target PurC_CopyHeaders [ 49%] Building CXX object Source/PurC/CMakeFiles/PurC.dir/fetchers/fetcher-process.cpp.o In file included from /home/haword/hvml/purc/PurC/Source/PurC/fetchers/ipc/FormDataReference.h:30, from /home/haword/hvml/purc/PurC/Source/PurC/fetchers/fetcher-request.h:38, from /home/haword/hvml/purc/PurC/Source/PurC/fetchers/fetcher-process.h:30, from /home/haword/hvml/purc/PurC/Source/PurC/fetchers/fetcher-process.cpp:30: /home/haword/hvml/purc/PurC/Source/PurC/fetchers/messages/SandboxExtension.h: In static member function ‘static std::optionalPurCFetcher::SandboxExtension::HandleArray PurCFetcher::SandboxExtension::HandleArray::decode(IPC::Decoder&)’: /home/haword/hvml/purc/PurC/Source/PurC/fetchers/messages/SandboxExtension.h:160:109: 错误:从初始化列表转换为‘std::optionalPurCFetcher::SandboxExtension::HandleArray’将使用显式构造函数‘constexpr std::optional<_Tp>::optional(std::in_place_t, _Args&& ...) [with _Args = {}; typename std::enable_if<__and_v<std::is_con structible<_Tp, _Args ...> >, bool>::type = false; _Tp = PurCFetcher::SandboxExtension::HandleArray]’ 160 | inline auto SandboxExtension::HandleArray::decode(IPC::Decoder&) -> std::optional<HandleArray> { return {{ }}; } | ^ /home/haword/hvml/purc/PurC/Source/PurC/fetchers/messages/SandboxExtension.h:160:109: 错误:从初始化列表转换为‘std::in_place_t’将使用显式构造函数‘constexpr std::in_place_t::in_place_t()’ make[2]: *** [Source/PurC/CMakeFiles/PurC.dir/build.make:1570:Source/PurC/CMakeFiles/PurC.dir/fetchers/fetcher-process.cpp.o] 错误 1

hawordh avatar Aug 23 '24 09:08 hawordh