NSInteger vs in 64bit

Given the following code:


    NSInteger nsInt = 1;
    int index = nsInt;



When building for 64bit, Xcode complains correctly about a loss of precision between NSInteger and int, at the second line. When compiling for 32bit, XCode does not complain (correctly)

AppCode never complains. Does AppCode not recognize the new 64bit data type sizes?


Thanks,
Willis Morse
0

Yes, unfortunately this is not implemented yet. Here is an issue on our tracker: http://youtrack.jetbrains.com/issue/OC-6635

0

Tkanks, Vyacheslav. Glad to see there's a issue for that already.

- Will

0

请先登录再写评论。