Projects > cpp > Issues > Bug #4385

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

cocos2d-x v2.x does not compile on xcode5.1 if targeting arm64

Bug #4385 [Closed]
dakiki 2014-03-15 17:18 . Updated about 10 years ago

xcode 5.1 won't compile cocos2d-x v2.x for arm64 archs because of some pointers stored into "int" values (loss of data).

Errors mainly come from CCEGLViewProtocol.h/.cpp, the handleTouchesXXX functions that use "int ids[]" instead of a size_t type
Same for EAGLView.mm (iOS platform), all the touchesXXX methods.

All other 64 platforms might have a similar issue (pointer stored in a 32bits variable).

zhangxm 2014-09-17 07:40

v2.x can not build for arm64, because 3rd libs don't include arm64 version.
So it is meaningless to fix the bug.

zhangxm 2014-09-17 07:40
  • Status changed from New to Closed

Atom PDF

Status:Closed
Start date:2014-03-15
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:ios, linux, mac, windows
Target version:-