Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

pinsrw

macrumors regular
Original poster
May 30, 2010
194
0
Hi all,

I have some code that uses both long long (64 bit integer). I've noticed something strange and I was wondering if anyone has seen this before.

When I run in debug mode on the device (iPad 4.2.1), my code works fine. When I switch to release mode, it fails. And by doing some simple tests, it appears that long long is compiled in release mode as merely long, but is compiled correctly in debug mode.

Anyone seen this? Can anyone confirm it? If so then I will submit it as a bug.
Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.