Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - GCC does not handle uint64 as a 64 bit targeting x86: (2 Items)
   
GCC does not handle uint64 as a 64 bit targeting x86  
I am trying to do some large integer math.  I have tried _uint64 and uint64_t and unsigned long long but all I get are 
32 bit values.

I am targeting x86 and using GCC 3.3.5.  In every case I get an error that the integer constant is too large.

It seems very strange that a 64 bit unsigned integer is not supported.  Is this deliberate or is it a compiler problem 
or ???

Is there any work around?

Thanx
Tim
Re: GCC does not handle uint64 as a 64 bit targeting x86  
Ok, it seems that I need to add "LL" and not just "L" to the constant.  Which makes sense, but wasn't my first thought.

Things seem to be working correctly now.