Skip to content

[UE] Bug:Xcode 编译UE报错 #1189

Closed
Closed
@zhulove86

Description

前置阅读 | Pre-reading

Puer的版本 | Puer Version

Unreal_v1.0.2

UE的版本 | UE Version

5.0

发生在哪个平台 | Platform

mac

错误信息 | Error Message

编译错误:
BuildError
这个是由于resolver_base.hpp中的局部变量v4_mapped屏蔽address_v6.hpp中已有v4_mapped变量产生的编译错误。

临时通过在resolver_base.hpp中增加如下的方式消除编译错误:
#ifdef clang
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wshadow"
#endif
.......
#ifdef clang
#pragma clang diagnostic pop
#endif

问题重现 | Bug reproduce

step 1:UE工程中导入puerts插件;
setp 2: 在mac上生成工程并进行工程编译;

Metadata

Assignees

Labels

UnrealbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions