Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-9779

OpenGL fails to build with mesa 7.8.1 in current 4.7 git

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 4.7.0
    • GUI: OpenGL
    • None
    • Ark Linux dockyard-devel (Linux 2.6.33, eglibc 2.11, gcc 4.5.0rc, Xorg 1.8.0, mesa 7.8.1)

      This is a fairly recent regression – a git snapshot from 2010/04/01 builds fine (with the same mesa), a current one barfs with

      g++ c -m64 -pipe -fPIC -I/usr/include/freetype2 -I/usr/include/pgsql -I/usr/include/pgsql/server -I/usr/include/mysql -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -m64 -O2 -fomit-frame-pointer -fweb -frename-registers -Wl,-O2,-z,combreloc,-z,relro,enable-new-dtags,-hash-style=gnu -g -fPIC -I/usr/include/freetype2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_OPENGL_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64 -I. -I../../include/QtCore -I../../include/QtGui -I../../include -I../../include/QtOpenGL -I.rcc/release-static -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -I/usr/X11R6/include -I/usr/X11R6/include -I.moc/release-static -o .obj/release-static/qgl_x11.o qgl_x11.cpp
      In file included from ../../include/QtGui/private/qt_x11_p.h:1:0,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:64:2: error: #error "cannot include <X11/Xlib.h> before this file"
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:97:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/shape.h:42:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/shape.h:49:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/shape.h:54:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/shape.h:60:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/shape.h:117:8: error: 'Status' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:102:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/XInput.h:203:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:215:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:235:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:247:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:268:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:280:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:298:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:326:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:336:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:365:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:418:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:439:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:463:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:467:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:479:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XInput.h:963:5: error: 'Bool' has not been declared
      /usr/include/X11/extensions/XInput.h:984:5: error: 'Bool' has not been declared
      /usr/include/X11/extensions/XInput.h:1007:5: error: 'Bool' has not been declared
      /usr/include/X11/extensions/XInput.h:1207:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/XInput.h:1259:8: error: 'Status' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:150:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/Xinerama.h:42:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xinerama.h:48:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xinerama.h:54:1: error: 'Bool' does not name a type
      In file included from /usr/include/X11/extensions/Xrandr.h:33:0,
      from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:157,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/Xrender.h:75:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrender.h:80:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrender.h:203:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrender.h:205:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrender.h:209:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrender.h:213:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrender.h:470:1: error: 'Status' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:157:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/Xrandr.h:55:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:73:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:82:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:97:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:111:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:124:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:127:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:143:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:151:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:200:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:274:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:275:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:276:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/Xrandr.h:286:8: error: 'Bool' has not been declared
      /usr/include/X11/extensions/Xrandr.h:286:22: error: 'Bool' has not been declared
      /usr/include/X11/extensions/Xrandr.h:301:9: error: 'Bool' has not been declared
      /usr/include/X11/extensions/Xrandr.h:301:23: error: 'Bool' has not been declared
      /usr/include/X11/extensions/Xrandr.h:343:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:404:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/Xrandr.h:438:1: error: 'Status' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:167:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/sync.h:89:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:94:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:99:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:104:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:109:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:114:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:118:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:122:8: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:182:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:193:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:200:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:206:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/sync.h:245:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:251:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:271:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:277:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:283:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:288:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:294:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:306:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:311:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:317:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:324:8: error: 'Status' does not name a type
      /usr/include/X11/extensions/sync.h:330:8: error: 'Status' does not name a type
      In file included from /usr/include/X11/XKBlib.h:31:0,
      from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:173,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/XKBstr.h:77:2: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XKBstr.h:490:2: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XKBstr.h:582:2: error: 'Bool' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:173:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/XKBlib.h:36:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:46:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:64:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:93:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:122:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:140:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:152:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:174:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:188:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:200:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:206:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:212:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:213:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:223:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:237:2: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:295:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:308:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:317:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:323:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:343:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:372:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:389:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:406:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:413:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:420:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:427:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:437:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:445:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:455:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:462:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:467:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:474:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:481:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:501:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:507:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:515:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:521:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:536:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:545:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:557:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:566:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:578:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:585:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:592:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:598:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:604:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:613:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:623:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:629:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:635:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:648:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:651:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:657:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:666:5: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:672:5: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:679:5: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:683:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:697:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:703:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:710:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:714:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:721:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:728:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:735:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:742:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:748:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:755:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:762:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:769:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:777:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:780:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:786:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:801:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:810:5: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:813:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:819:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:829:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:833:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:840:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:846:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:854:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:863:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:867:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:873:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:879:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:885:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:891:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:896:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:903:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:909:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:915:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:920:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:925:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:931:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:951:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:960:9: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:992:5: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:1006:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1012:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1029:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:1043:2: error: 'Bool' has not been declared
      /usr/include/X11/XKBlib.h:1060:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:1066:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:1074:8: error: 'Status' does not name a type
      /usr/include/X11/XKBlib.h:1082:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1088:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1094:9: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1102:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1117:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1128:8: error: 'Bool' does not name a type
      /usr/include/X11/XKBlib.h:1134:8: error: 'Bool' does not name a type
      In file included from ../../include/QtGui/private/qt_x11_p.h:1:0,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:207:14: error: ISO C++ forbids declaration of 'Bool' with no type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:207:14: error: typedef 'Bool' is initialized (use decltype instead)
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:207:16: error: 'PtrXFixesQueryExtension' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:208:16: error: ISO C++ forbids declaration of 'Status' with no type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:208:16: error: typedef 'Status' is initialized (use decltype instead)
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:208:18: error: 'PtrXFixesQueryVersion' was not declared in this scope
      In file included from ../../include/QtGui/private/qt_x11_p.h:1:0,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:219:14: error: ISO C++ forbids declaration of 'Bool' with no type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:219:14: error: typedef 'Bool' is initialized (use decltype instead)
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:219:16: error: 'PtrXineramaQueryExtension' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:220:14: error: ISO C++ forbids declaration of 'Bool' with no type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:220:14: error: typedef 'Bool' is initialized (use decltype instead)
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:220:16: error: 'PtrXineramaIsActive' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:228:14: error: ISO C++ forbids declaration of 'Bool' with no type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:228:14: error: typedef 'Bool' is initialized (use decltype instead)
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:228:16: error: 'PtrXRRQueryExtension' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:256:12: error: 'Bool' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:265:12: error: 'Bool' does not name a type
      In file included from ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:299:0,
      from ../../include/QtGui/private/qt_x11_p.h:1,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      /usr/include/X11/extensions/XShm.h:43:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XShm.h:56:5: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XShm.h:61:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XShm.h:69:1: error: 'Bool' does not name a type
      /usr/include/X11/extensions/XShm.h:80:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/XShm.h:85:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/XShm.h:90:1: error: 'Status' does not name a type
      /usr/include/X11/extensions/XShm.h:104:1: error: 'Status' does not name a type
      In file included from ../../include/QtGui/private/qt_x11_p.h:1:0,
      from ../../include/QtGui/private/../../../src/gui/text/qfontengine_ft_p.h:62,
      from ../../include/QtGui/private/qfontengine_ft_p.h:1,
      from qgl_x11.cpp:53:
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:416:5: error: 'PtrXFixesQueryExtension' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:417:5: error: 'PtrXFixesQueryVersion' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:702:5: error: 'PtrXineramaQueryExtension' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:703:5: error: 'PtrXineramaIsActive' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:711:5: error: 'PtrXRRQueryExtension' does not name a type
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:722:17: error: 'FocusOut' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:723:16: error: 'FocusIn' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:724:17: error: 'KeyPress' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:725:19: error: 'KeyRelease' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:726:13: error: 'None' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:728:18: error: 'GrayScale' was not declared in this scope
      ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:729:20: error: 'CursorShape' was not declared in this scope
      In file included from qgl_x11.cpp:68:0:
      /usr/include/GL/glx.h:204:31: error: 'Bool' has not been declared
      /usr/include/GL/glx.h:208:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:221:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:223:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:225:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:287:40: error: 'Bool' has not been declared
      /usr/include/GL/glx.h:289:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:315:126: error: 'Bool' has not been declared
      In file included from qgl_x11.cpp:68:0:
      /usr/include/GL/glx.h:316:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glx.h:316:17: error: 'PFNGLXMAKECONTEXTCURRENTPROC' was not declared in this scope
      In file included from /usr/include/GL/glx.h:346:0,
      from qgl_x11.cpp:68:
      /usr/include/GL/glxext.h:427:5: error: 'Bool' does not name a type
      In file included from /usr/include/GL/glx.h:346:0,
      from qgl_x11.cpp:68:
      /usr/include/GL/glxext.h:555:120: error: 'Bool' has not been declared
      /usr/include/GL/glxext.h:594:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:594:18: error: 'PFNGLXMAKECURRENTREADSGIPROC' was not declared in this scope
      /usr/include/GL/glxext.h:643:142: error: 'Bool' has not been declared
      /usr/include/GL/glxext.h:713:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:713:18: error: 'PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC' was not declared in this scope
      /usr/include/GL/glxext.h:721:16: error: typedef 'Status' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:721:20: error: 'PFNGLXGETTRANSPARENTINDEXSUNPROC' was not declared in this scope
      /usr/include/GL/glxext.h:745:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:745:18: error: 'PFNGLXRELEASEBUFFERSMESAPROC' was not declared in this scope
      /usr/include/GL/glxext.h:753:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:753:18: error: 'PFNGLXSET3DFXMODEMESAPROC' was not declared in this scope
      /usr/include/GL/glxext.h:773:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:773:18: error: 'PFNGLXGETSYNCVALUESOMLPROC' was not declared in this scope
      /usr/include/GL/glxext.h:774:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:774:18: error: 'PFNGLXGETMSCRATEOMLPROC' was not declared in this scope
      /usr/include/GL/glxext.h:776:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:776:18: error: 'PFNGLXWAITFORMSCOMLPROC' was not declared in this scope
      /usr/include/GL/glxext.h:777:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:777:18: error: 'PFNGLXWAITFORSBCOMLPROC' was not declared in this scope
      /usr/include/GL/glxext.h:895:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:895:18: error: 'PFNGLXJOINSWAPGROUPNVPROC' was not declared in this scope
      /usr/include/GL/glxext.h:896:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:896:18: error: 'PFNGLXBINDSWAPBARRIERNVPROC' was not declared in this scope
      /usr/include/GL/glxext.h:897:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:897:18: error: 'PFNGLXQUERYSWAPGROUPNVPROC' was not declared in this scope
      /usr/include/GL/glxext.h:898:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:898:18: error: 'PFNGLXQUERYMAXSWAPGROUPSNVPROC' was not declared in this scope
      /usr/include/GL/glxext.h:899:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:899:18: error: 'PFNGLXQUERYFRAMECOUNTNVPROC' was not declared in this scope
      /usr/include/GL/glxext.h:900:14: error: typedef 'Bool' is initialized (use decltype instead)
      /usr/include/GL/glxext.h:900:18: error: 'PFNGLXRESETFRAMECOUNTNVPROC' was not declared in this scope
      In file included from qgl_x11.cpp:68:0:
      /usr/include/GL/glx.h:393:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:394:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:395:8: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:510:5: error: 'Bool' does not name a type
      /usr/include/GL/glx.h:523:5: error: 'Bool' does not name a type
      qgl_x11.cpp: In static member function 'static bool QGLFormat::hasOpenGL()':
      qgl_x11.cpp:393:48: error: 'glXQueryExtension' was not declared in this scope
      qgl_x11.cpp: In member function 'virtual bool QGLContext::chooseContext(const QGLContext*)':
      qgl_x11.cpp:475:5: error: 'Bool' was not declared in this scope
      qgl_x11.cpp:475:10: error: expected ';' before 'direct'
      qgl_x11.cpp:490:93: error: 'glXIsDirect' was not declared in this scope
      qgl_x11.cpp:499:72: error: 'direct' was not declared in this scope
      qgl_x11.cpp:508:68: error: 'direct' was not declared in this scope
      qgl_x11.cpp:513:71: error: 'glXIsDirect' was not declared in this scope
      qgl_x11.cpp: In member function 'virtual void QGLContext::makeCurrent()':
      qgl_x11.cpp:842:83: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp:844:85: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp:846:102: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp: In member function 'virtual void QGLContext::doneCurrent()':
      qgl_x11.cpp:858:63: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp: In constructor 'QGLTemporaryContext::QGLTemporaryContext(bool, QWidget*)':
      qgl_x11.cpp:1180:75: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp: In destructor 'QGLTemporaryContext::~QGLTemporaryContext()':
      qgl_x11.cpp:1192:42: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp:1197:67: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp: In member function 'bool QGLWidgetPrivate::renderCxPm(QPixmap*)':
      qgl_x11.cpp:1307:75: error: 'glXMakeCurrent' was not declared in this scope
      qgl_x11.cpp: In function 'bool qCanAllocColors(QWidget*)':
      qgl_x11.cpp:1561:17: error: duplicate case value
      qgl_x11.cpp:1557:17: error: previously used here
      qgl_x11.cpp: In static member function 'static bool QGLFormat::hasOpenGL()':
      qgl_x11.cpp:394:1: warning: control reaches end of non-void function
      make[1]: *** [.obj/release-static/qgl_x11.o] Error 1
      make[1]: Leaving directory `/usr/src/ark/BUILD/qt/src/opengl'

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kjernase Trond Kjernåsen (Inactive)
            bero Bernhard Rosenkränzer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes