• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
uint64_t error and architecture targets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: uint64_t error and architecture targets
      • From: "Clark S. Cox III" <email@hidden>
  • Prev by Date: [ANN] Cong 0.7
  • Next by Date: Re: uint64_t error and architecture targets
  • Previous by thread: Re: [ANN] Cong 0.7
  • Next by thread: Re: uint64_t error and architecture targets
  • Index(es):
    • Date
    • Thread