Raknet 构建错误

Raknet build error

尝试用 xCode 6.2

构建 [Raknet][1] iOS

但我收到类似

的错误

/RakNet-master/Source/ReplicaManager3.cpp:141:61: Comparison between pointer and integer ('RakNet::Connection_RM3 *' and 'int')

有人在 Xcode 6.2 上成功构建了 RakNet 吗?

似乎是 C++ 11 问题,我通过将 false 更改为 nullptr

来解决

早些时候

if (GetConnectionByGUID(participantListIn[index], worldId)==false)

现在

if (GetConnectionByGUID(participantListIn[index], worldId)==nullptr)