Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / qt / 2008-01

64bit qt4pas bugfix

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ales Katona

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

Den Jean
to Ales Katona
pm Ales Katona wrote
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):

hum sorry for the mistake, will fix it in the next release. thx for the bug hunting