• 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
Re: 64-bit int in OS X?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 64-bit int in OS X?


  • Subject: Re: 64-bit int in OS X?
  • From: Steve Checkoway <email@hidden>
  • Date: Thu, 03 Nov 2005 13:23:01 -0800

Alex Sodt wrote:
Is there a compiler flag (or hack) to set the size of an int to be 64 bits in gcc 4.0 on OS X?

For a hack, you can define int to be int64_t. I would guess that this would be a very bad idea since system headers depend (I think) on an int being 32 bits.


If you need a 64 bit integer at a particular point, use int64_t (and uint64_t for unsigned), otherwise just use an int.

- Steve
_______________________________________________
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


References: 
 >64-bit int in OS X? (From: Alex Sodt <email@hidden>)

  • Prev by Date: 64-bit int in OS X?
  • Next by Date: Re: "Flattening" a static library
  • Previous by thread: 64-bit int in OS X?
  • Next by thread: kexts built with XCode 2.1 & 2.2
  • Index(es):
    • Date
    • Thread