[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

qt3 and ptrdiff_t build error



Hi all,

The build of an application using qt3 always fails into this
kind of error (with GCC-4.6) :

In file included from /usr/include/qt3/qmime.h:46:0,
                 from /usr/include/qt3/qevent.h:48,
                 from /usr/include/qt3/qobject.h:48,
                 from /usr/include/qt3/qwidget.h:46,
                 from /usr/include/qt3/qmainwindow.h:45,
                 from main.cc:9:
/usr/include/qt3/qmap.h:607:13: error: ‘ptrdiff_t’ does not name a type
make[1]: *** [scripts/kconfig/qconf.o] Erreur 1
make: *** [xconfig] Erreur 2


unless including <stddef.h>.

So, I would like to ask you if qt3 is still maintained so that it is
for example possible to add " include <stddef.h> " in some qt3 headers?
Or should stddef.h always be included by our program.

-- 
Tiana Rakotovao Andriamahefa


Reply to: