[1/7] Compile [x64] Module.Generator.cpp
E:\Unreal Projects\Test\Plugins\UnrealCSharp\Source\Generator\Private\FBlueprintGenerator.cpp(8): fatal error C1083: 无法打开包括文件: “UMGEditor/Public/WidgetBlueprint.h”: No such file or directory
[3/7] Compile [x64] Module.UnrealCSharp.cpp
...... (此处省略 10 warnings)
E:\Unreal Projects\Test\Plugins\UnrealCSharp\Source\UnrealCSharp\Private\Reflection\Container\FMapHelper.cpp(213): error C4855: “/std:c++20”中已弃用通过 "[=]" 来隐式捕获 "this"
E:\Unreal Projects\Test\Plugins\UnrealCSharp\Source\UnrealCSharp\Private\Reflection\Container\FSetHelper.cpp(106): error C4855: “/std:c++20”中已弃用通过 "[=]" 来隐式捕获 "this"
ElementPropertyDescriptor->Set(InValue, Data);
+ #if __cplusplus >= 202002L
+ ScriptMap->Rehash(ScriptMapLayout, [=, this](const void* Src)
+ #else
ScriptMap->Rehash(ScriptMapLayout, [=](const void* Src)
+ #endif
{
return ElementPropertyDescriptor->GetValueTypeHash(Src);
});
KeyPropertyDescriptor->Set(InKey, Data);
+ #if __cplusplus >= 202002L
+ ScriptSet->Rehash(ScriptSetLayout, [=, this](const void* Src)
+ #else
ScriptSet->Rehash(ScriptSetLayout, [=](const void* Src)
+ #endif
{
return KeyPropertyDescriptor->GetValueTypeHash(Src);
});