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
2 comments

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

Please sign in to leave a comment.