[Qt-interest] Indentify 64 bit

Manuel Fiorelli manuel.fiorelli at gmail.com
Thu Jul 2 22:31:31 CEST 2009


2009/7/2 Paul Floyd <paulf at free.fr>:
> Manuel Fiorelli wrote:
>> 2009/7/2 Manuel Fiorelli <manuel.fiorelli at gmail.com>:
>>
>>>Maybe this can help you
>>>
>>>http://doc.trolltech.com/4.5/qtglobal.html#QT_POINTER_SIZE
>>
>>
>> After reading this article
>>
>> http://en.wikipedia.org/wiki/64-bit
>>
>> I suspect that the pointer size could be insufficient.
>
> Really? Most 64bit OSes are LP64. Windows 64 is LLP64. The only other
> system that I've heard of that doesn't fall into those two categories
> are Crays (and not the modern Opteron based systems).

I wanted to say that QT_POINTER_SIZE gives you the value of
sizeof(void *) at preprocessing time,
but no other information: for example, you cannot distinguish a LP64
form a LLP64 one.

Manuel Fiorelli



More information about the Qt-interest-old mailing list