Advertisement
Guest User

qt3 build error (fragment)

a guest
Aug 6th, 2012
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.84 KB | None | 0 0
  1. make[2]: Entering directory `/data/Installs/Build/qt-x11-free-3.3.8b/src'
  2. g++ -c -pipe -fno-exceptions -Wall -W -O2 -march=i486 -mtune=i686 -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_THREAD_SUPPORT -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DQT_BUILTIN_GIF_READER=1 -DQT_NO_STYLE_MAC -DQT_NO_STYLE_AQUA -DQT_NO_STYLE_CDE -DQT_NO_STYLE_MOTIFPLUS -DQT_NO_STYLE_INTERLACE -DQT_NO_STYLE_PLATINUM -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_SGI -DQT_NO_STYLE_COMPACT -DQT_NO_STYLE_POCKETPC -DQT_NO_STYLE_WINDOWS -I/data/Installs/Build/qt-x11-free-3.3.8b/mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I3rdparty/opentype -I../include -I/usr/include -I/usr/include -I.moc/release-shared-mt/ -o .obj/release-shared-mt/qapplication_x11.o kernel/qapplication_x11.cpp
  3. In file included from ../include/qmap.h:49:0,
  4. from kernel/qmime.h:46,
  5. from kernel/qevent.h:48,
  6. from kernel/qobject.h:48,
  7. from kernel/qwidget.h:46,
  8. from kernel/qdesktopwidget.h:43,
  9. from kernel/qapplication.h:45,
  10. from kernel/qapplication_x11.cpp:67:
  11. ../include/qvaluelist.h:91:13: error: 'ptrdiff_t' does not name a type
  12. ../include/qvaluelist.h:167:13: error: 'ptrdiff_t' does not name a type
  13. In file included from ../include/qmap.h:49:0,
  14. from kernel/qmime.h:46,
  15. from kernel/qevent.h:48,
  16. from kernel/qobject.h:48,
  17. from kernel/qwidget.h:46,
  18. from kernel/qdesktopwidget.h:43,
  19. from kernel/qapplication.h:45,
  20. from kernel/qapplication_x11.cpp:67:
  21. ../include/qvaluelist.h:427:13: error: 'ptrdiff_t' does not name a type
  22. In file included from kernel/qmime.h:46:0,
  23. from kernel/qevent.h:48,
  24. from kernel/qobject.h:48,
  25. from kernel/qwidget.h:46,
  26. from kernel/qdesktopwidget.h:43,
  27. from kernel/qapplication.h:45,
  28. from kernel/qapplication_x11.cpp:67:
  29. ../include/qmap.h:110:13: error: 'ptrdiff_t' does not name a type
  30. ../include/qmap.h:226:13: error: 'ptrdiff_t' does not name a type
  31. In file included from kernel/qmime.h:46:0,
  32. from kernel/qevent.h:48,
  33. from kernel/qobject.h:48,
  34. from kernel/qwidget.h:46,
  35. from kernel/qdesktopwidget.h:43,
  36. from kernel/qapplication.h:45,
  37. from kernel/qapplication_x11.cpp:67:
  38. ../include/qmap.h:607:13: error: 'ptrdiff_t' does not name a type
  39. kernel/qapplication_x11.cpp: In function 'void qt_init_internal(int*, char**, Display*, Qt::HANDLE, Qt::HANDLE)':
  40. kernel/qapplication_x11.cpp:2012:8: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
  41. kernel/qapplication_x11.cpp:2012:62: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
  42. kernel/qapplication_x11.cpp:2042:8: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
  43. kernel/qapplication_x11.cpp:2042:66: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1695) [-Wdeprecated-declarations]
  44. kernel/qapplication_x11.cpp: In member function 'int QApplication::x11ProcessEvent(XEvent*)':
  45. kernel/qapplication_x11.cpp:3693:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  46. kernel/qapplication_x11.cpp:3706:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  47. kernel/qapplication_x11.cpp: In member function 'bool QETWidget::translateMouseEvent(const XEvent*)':
  48. kernel/qapplication_x11.cpp:4122:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  49. kernel/qapplication_x11.cpp: In member function 'bool QETWidget::translateKeyEventInternal(const XEvent*, int&, QString&, int&, char&, int&, QEvent::Type&, bool)':
  50. kernel/qapplication_x11.cpp:5161:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  51. kernel/qapplication_x11.cpp:5232:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  52. kernel/qapplication_x11.cpp:5235:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  53. kernel/qapplication_x11.cpp: In function 'int isPaintOrScrollDoneEvent(Display*, XEvent*, XPointer)':
  54. kernel/qapplication_x11.cpp:5524:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  55. make[2]: *** [.obj/release-shared-mt/qapplication_x11.o] Error 1
  56. make[2]: Leaving directory `/data/Installs/Build/qt-x11-free-3.3.8b/src'
  57. make[1]: *** [sub-src] Error 2
  58. make[1]: Leaving directory `/data/Installs/Build/qt-x11-free-3.3.8b'
  59. make: *** [init] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement