[Qt] 64bit qt4pas bugfix

Ales Katona almindor at gmail.com
Thu Jan 24 18:47:12 CET 2008


The huge looking error I reported earlier was caused by a simple missing 
";" in the 64bit ifdeffed part of qtpas.cpp right at the top (this is 
the fixed code):

#if defined _LP64
typedef long long int PTRINT;
typedef unsigned long long int PTRUINT;
#else
typedef int PTRINT;
typedef unsigned int PTRUINT;
#endif


Now it compiles nicely again. Btw a simple tip I found at #c++, if you 
find an ugly looking gcc error output with errors in others' .h files, 
use g++ -E file.cc to get a very long output of "what would the headers 
contain if put together". It's easier to see the right error in there.

Ales



More information about the Qt mailing list