Hi!
I just installed Xcode 8.3 and tried to compile Photon SDK 1.4.5.1 basic code sample.
I got one minor issue. I'm not sure if it's a Photon SDK or compiler "feature":
And my question is:
Is it safe to fix it in DictionaryBase.h (also would be nice to get advice about better way to fix it, my variants are: make Dictionary friend class of DictionaryBase or change mHashtable private->protected) or Photon SDK needs to be rebuilt?
Thank You!
I just installed Xcode 8.3 and tried to compile Photon SDK 1.4.5.1 basic code sample.
I got one minor issue. I'm not sure if it's a Photon SDK or compiler "feature":
In file included from /somewhereonmyhdd/externals/PhotonSDK/Photon-iOS-Sdk_v4-1-5-1/LoadBalancing-cpp/src/Internal/PlayerFactory.cpp:7:
In file included from ../LoadBalancing-cpp/inc/Internal/PlayerFactory.h:9:
In file included from ../Common-cpp/inc/Common.h:11:
../Common-cpp/inc/Dictionary.h:215:4: error: 'mHashtable' is a private member of 'ExitGames::Common::DictionaryBase'
mHashtable.remove(key);
^
In file included from /somewhereonmyhdd/externals/PhotonSDK/Photon-iOS-Sdk_v4-1-5-1/LoadBalancing-cpp/src/Internal/PlayerFactory.cpp:7:
In file included from ../LoadBalancing-cpp/inc/Internal/PlayerFactory.h:9:
In file included from ../Common-cpp/inc/Common.h:11:
In file included from ../Common-cpp/inc/Dictionary.h:9:
../Common-cpp/inc/DictionaryBase.h:86:14: note: declared private here
Hashtable mHashtable;
^
1 error generated.
And my question is:
Is it safe to fix it in DictionaryBase.h (also would be nice to get advice about better way to fix it, my variants are: make Dictionary friend class of DictionaryBase or change mHashtable private->protected) or Photon SDK needs to be rebuilt?
Thank You!