uint64_t error and architecture targets
uint64_t error and architecture targets
- Subject: uint64_t error and architecture targets
- From: Todd Heberlein <email@hidden>
- Date: Thu, 10 Feb 2011 17:28:39 -0800
In C++ code I have a line like:
uint64_t y = 0xffffffffffffffffUL;
This compiles fine when I have the architecture set to "Build Active Architecture Only". But if I uncheck this box, I get an error with the message "Integer constant is too large for 'unsigned long' type."
I had just assumed an "uint64_t" would be 64 bits.
First question(s): Am I doing something wrong? Is this not the case?
Second question(s): Since I'm only targeting Snow Leopard and may want to eventually distribute through the Mac App Store, can I prune the "Valid architectures"? And will this resolve my first problem?
Thanks,
Todd
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden