0

trying to build [Raknet][1] iOS with xCode 6.2

but I am getting error like

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

do anybody had successfully build RakNet on Xcode 6.2 ?

Mujah Maskey
  • 8,654
  • 8
  • 40
  • 61

1 Answers1

0

seems C++ 11 issue, I get resolved with changing false to nullptr

earlier

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

now

if (GetConnectionByGUID(participantListIn[index], worldId)==nullptr)
Mujah Maskey
  • 8,654
  • 8
  • 40
  • 61