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
2 comments
Comment actions Permalink

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

0
Comment actions Permalink

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

- Will

0

Please sign in to leave a comment.