• 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: long long issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: long long issue


  • Subject: Re: long long issue
  • From: James Bucanek <email@hidden>
  • Date: Sat, 20 Aug 2005 06:53:43 -0700

Ando Sonenblick wrote on Friday, August 19, 2005:

>Gang,
>
>I've got this:
>
>     typedef unsigned long long uint64_t;
>
>followed by this:
>
>     uint64_t value1 = 0xff00ff00ff00ff00;
>
>which results in Xcode 2.1 saying this:
>
>  error: integer constant is too large for 'long' type

Integer constants are always int unless declared otherwise. You need to write

    0xff00ff00ff00ff00LL

--
James Bucanek
 _______________________________________________
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: 
 >long long issue (From: Ando Sonenblick <email@hidden>)

  • Prev by Date: Re: Different GDB than the native processors.
  • Next by Date: customizing xcode debugger types display
  • Previous by thread: Re: long long issue
  • Next by thread: Resorcerer => Icon Composer
  • Index(es):
    • Date
    • Thread