[Qt-interest] Detecting size of datatype with qmake

Kustaa Nyholm Kustaa.Nyholm at planmeca.com
Sun May 16 11:06:04 CEST 2010


>> http://en.wikipedia.org/wiki/Stdint.h
>>
>> which provides much the same. Technically, these might not be available for
>> a C++93-compiler, but I doubt you'll find any.

>Don't use it.

Isn't that a bit sweeping and strong statement? Even if Qt  wants to/needs to support 
all possible compilers  not everyone is int the same boat. 

And if the advice indeed makes practical sense then it is a sad testimony to the
the state of world of C/C++ that in 2010 you need to steer clear of standard compiler
/library features that are supposed to be a decade old. 

cheers Kusti




More information about the Qt-interest-old mailing list