We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
cocos2d-x v2.x does not compile on xcode5.1 if targeting arm64
cocos2d-x v2.x does not compile on xcode5.1 if targeting arm64
Bug #4385 [Closed]
Status: | Closed | |
---|---|---|
Start date: | 2014-03-15 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | ios, linux, mac, windows | |
Target version: | - |
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).