[Ci-reports] fail on QtWayland_dev_Integration #91
Qt Continuous Integration System
ci-noreply at qt-project.org
Wed Jan 14 16:58:02 CET 2015
qtwayland failed to compile :(
In file included from qwaylandshmbackingstore.cpp:46:0:
../shared/qwaylandshmformathelper.h: In static member function ‘static const QWaylandShmFormatHelper::Array QWaylandShmFormatHelper::getData()’:
../shared/qwaylandshmformathelper.h:79:13: error: ‘WL_SHM_FORMAT_RGB565’ was not declared in this scope
../shared/qwaylandshmformathelper.h:83:13: error: ‘WL_SHM_FORMAT_XRGB1555’ was not declared in this scope
../shared/qwaylandshmformathelper.h:85:13: error: ‘WL_SHM_FORMAT_RGB888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:86:13: error: ‘WL_SHM_FORMAT_XRGB4444’ was not declared in this scope
../shared/qwaylandshmformathelper.h:87:13: error: ‘WL_SHM_FORMAT_ARGB4444’ was not declared in this scope
../shared/qwaylandshmformathelper.h:88:13: error: ‘WL_SHM_FORMAT_XBGR8888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:89:13: error: ‘WL_SHM_FORMAT_ABGR8888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:91:13: error: ‘WL_SHM_FORMAT_XBGR2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:92:13: error: ‘WL_SHM_FORMAT_ARGB2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:93:13: error: ‘WL_SHM_FORMAT_XRGB2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:95:13: error: ‘WL_SHM_FORMAT_C8’ was not declared in this scope
In file included from /work/build/qt/qtbase/include/QtGui/qbrush.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpen.h:38,
from /work/build/qt/qtbase/include/QtGui/qpen.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:47,
from /work/build/qt/qtbase/include/QtGui/qpainter.h:1,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h: In static member function ‘static QVector<wl_shm_format> QWaylandShmFormatHelper::supportedWaylandFormats()’:
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:114:67: error: friend declaration ‘bool qHasPixmapTexture(const QWaylandShmFormatHelper::supportedWaylandFormats()::QBrush&)’ in local class without prior declaration
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:127:1: error: a function-definition is not allowed here before ‘{’ token
In file included from /work/build/qt/qtbase/include/QtCore/qtypeinfo.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1084,
from /work/build/qt/qtbase/include/QtCore/qglobal.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandclientexport_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandclientexport_p.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandbuffer_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandbuffer_p.h:1,
from qwaylandshmbackingstore_p.h:45,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:188:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:129:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:210:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:129:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
In file included from /work/build/qt/qtbase/include/QtGui/qbrush.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpen.h:38,
from /work/build/qt/qtbase/include/QtGui/qpen.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:47,
from /work/build/qt/qtbase/include/QtGui/qpainter.h:1,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:152:45: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:153:44: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:154:46: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:155:45: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:156:40: error: a function-definition is not allowed here before ‘{’ token
In file included from /work/build/qt/qtbase/include/QtCore/qobjectdefs.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:40,
from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
from /work/build/qt/qtbase/include/QtGui/5.5.0/QtGui/qpa/../../../../../src/gui/painting/qplatformbackingstore.h:47,
from /work/build/qt/qtbase/include/QtGui/5.5.0/QtGui/qpa/qplatformbackingstore.h:1,
from qwaylandshmbackingstore_p.h:47,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:174:30: error: local class ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QGradient’ shall not have static data member ‘const QMetaObject QWaylandShmFormatHelper::supportedWaylandFormats()::QGradient::staticMetaObject’ [-fpermissive]
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:169:5: note: in expansion of macro ‘Q_GADGET’
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:169:5: note: in expansion of macro ‘Q_GADGET’
In file included from /work/build/qt/qtbase/include/QtGui/qbrush.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpen.h:38,
from /work/build/qt/qtbase/include/QtGui/qpen.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:47,
from /work/build/qt/qtbase/include/QtGui/qpainter.h:1,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qbrush.h:242:1: error: a function-definition is not allowed here before ‘{’ token
In file included from /work/build/qt/qtbase/include/QtCore/qtypeinfo.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1084,
from /work/build/qt/qtbase/include/QtCore/qglobal.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandclientexport_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandclientexport_p.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandbuffer_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandbuffer_p.h:1,
from qwaylandshmbackingstore_p.h:45,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:188:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpen.h:126:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:210:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpen.h:126:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:188:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontinfo.h:76:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:210:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontinfo.h:76:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
In file included from /work/build/qt/qtbase/include/QtGui/qfontmetrics.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:52,
from /work/build/qt/qtbase/include/QtGui/qpainter.h:1,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h: In member function ‘QWaylandShmFormatHelper::supportedWaylandFormats()::QRect QWaylandShmFormatHelper::supportedWaylandFormats()::QFontMetrics::boundingRect(int, int, int, int, int, const QString&, int, int*) const’:
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:96:9: error: return type ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QRect’ is incomplete
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:96:47: error: invalid use of incomplete type ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QRect’
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:48:7: error: forward declaration of ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QRect’
In file included from /work/build/qt/qtbase/include/QtCore/qtypeinfo.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1084,
from /work/build/qt/qtbase/include/QtCore/qglobal.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandclientexport_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandclientexport_p.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandbuffer_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandbuffer_p.h:1,
from qwaylandshmbackingstore_p.h:45,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:188:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:118:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:210:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:118:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:188:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:207:1: note: in expansion of macro ‘Q_DECLARE_TYPEINFO’
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:180:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qtypeinfo.h:210:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/text/qfontmetrics.h:180:1: note: in expansion of macro ‘Q_DECLARE_SHARED’
In file included from /work/build/qt/qtbase/include/QtCore/qobjectdefs.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:40,
from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
from /work/build/qt/qtbase/include/QtGui/5.5.0/QtGui/qpa/../../../../../src/gui/painting/qplatformbackingstore.h:47,
from /work/build/qt/qtbase/include/QtGui/5.5.0/QtGui/qpa/qplatformbackingstore.h:1,
from qwaylandshmbackingstore_p.h:47,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:174:30: error: local class ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QPainter’ shall not have static data member ‘const QMetaObject QWaylandShmFormatHelper::supportedWaylandFormats()::QPainter::staticMetaObject’ [-fpermissive]
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:78:5: note: in expansion of macro ‘Q_GADGET’
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:78:5: note: in expansion of macro ‘Q_GADGET’
In file included from /work/build/qt/qtbase/include/QtGui/qpainter.h:1:0,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
In file included from /work/build/qt/qtbase/include/QtCore/qflags.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1088,
from /work/build/qt/qtbase/include/QtCore/qglobal.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandclientexport_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandclientexport_p.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandbuffer_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandbuffer_p.h:1,
from qwaylandshmbackingstore_p.h:45,
from qwaylandshmbackingstore.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qflags.h:164:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:484:1: note: in expansion of macro ‘Q_DECLARE_OPERATORS_FOR_FLAGS’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qflags.h:166:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:484:1: note: in expansion of macro ‘Q_DECLARE_OPERATORS_FOR_FLAGS’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qflags.h:160:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qflags.h:166:21: note: in expansion of macro ‘Q_DECLARE_INCOMPATIBLE_FLAGS’
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:484:1: note: in expansion of macro ‘Q_DECLARE_OPERATORS_FOR_FLAGS’
In file included from /work/build/qt/qtbase/include/QtGui/qpainter.h:1:0,
from /work/build/qt/qtbase/include/QtGui/QPainter:1,
from qwaylandshmbackingstore.cpp:49:
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:490:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:495:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:500:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:506:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:512:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:517:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:522:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:527:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:532:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:537:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:542:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:547:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:552:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:557:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:562:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:567:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:572:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:578:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:583:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:588:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:593:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:598:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:604:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:609:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:614:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:619:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:624:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:630:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:636:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:641:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:646:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:651:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:656:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:661:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:666:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:671:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:676:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:681:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:686:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:691:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:696:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:701:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:706:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:711:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:716:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:721:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:726:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:731:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:736:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:742:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:747:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:752:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:757:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:762:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:767:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:772:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:777:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:782:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:788:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:794:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:799:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:804:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:809:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:815:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:821:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:827:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:833:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:838:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:843:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:849:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:857:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:862:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:867:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:872:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:877:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:882:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:887:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:892:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:897:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:902:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:907:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:913:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qpainter.h:918:1: error: a function-definition is not allowed here before ‘{’ token
In file included from /usr/include/features.h:364:0,
from /usr/include/c++/4.8/x86_64-suse-linux/bits/os_defines.h:39,
from /usr/include/c++/4.8/x86_64-suse-linux/bits/c++config.h:2097,
from /usr/include/c++/4.8/cstddef:41,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:39,
from /work/build/qt/qtbase/include/QtCore/qglobal.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandclientexport_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandclientexport_p.h:1,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/../../../../../../qtwayland/src/client/qwaylandbuffer_p.h:45,
from /work/build/qt/qtbase/include/QtWaylandClient/5.5.0/QtWaylandClient/private/qwaylandbuffer_p.h:1,
from qwaylandshmbackingstore_p.h:45,
from qwaylandshmbackingstore.cpp:41:
/usr/include/unistd.h:27:1: error: expected unqualified-id before string constant
qwaylandshmbackingstore.cpp:375:2: error: expected ‘}’ at end of input
make[3]: *** [.obj/qwaylandshmbackingstore.o] Error 1
make[2]: *** [sub-client-make_first] Error 2
In file included from wayland_wrapper/qwlsurfacebuffer.cpp:45:0:
../shared/qwaylandshmformathelper.h: In static member function ‘static const QWaylandShmFormatHelper::Array QWaylandShmFormatHelper::getData()’:
../shared/qwaylandshmformathelper.h:79:13: error: ‘WL_SHM_FORMAT_RGB565’ was not declared in this scope
../shared/qwaylandshmformathelper.h:83:13: error: ‘WL_SHM_FORMAT_XRGB1555’ was not declared in this scope
../shared/qwaylandshmformathelper.h:85:13: error: ‘WL_SHM_FORMAT_RGB888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:86:13: error: ‘WL_SHM_FORMAT_XRGB4444’ was not declared in this scope
../shared/qwaylandshmformathelper.h:87:13: error: ‘WL_SHM_FORMAT_ARGB4444’ was not declared in this scope
../shared/qwaylandshmformathelper.h:88:13: error: ‘WL_SHM_FORMAT_XBGR8888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:89:13: error: ‘WL_SHM_FORMAT_ABGR8888’ was not declared in this scope
../shared/qwaylandshmformathelper.h:91:13: error: ‘WL_SHM_FORMAT_XBGR2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:92:13: error: ‘WL_SHM_FORMAT_ARGB2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:93:13: error: ‘WL_SHM_FORMAT_XRGB2101010’ was not declared in this scope
../shared/qwaylandshmformathelper.h:95:13: error: ‘WL_SHM_FORMAT_C8’ was not declared in this scope
In file included from /work/build/qt/qtbase/include/QtGui/qopenglversionfunctions.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:55,
from /work/build/qt/qtbase/include/QtGui/qopenglcontext.h:1,
from /work/build/qt/qtbase/include/QtGui/QOpenGLContext:1,
from ./hardware_integration/qwlclientbufferintegration_p.h:47,
from wayland_wrapper/qwlsurfacebuffer.cpp:48:
/work/build/qt/qtbase/include/QtGui/../../src/gui/opengl/qopenglversionfunctions.h: In static member function ‘static QVector<wl_shm_format> QWaylandShmFormatHelper::supportedWaylandFormats()’:
/work/build/qt/qtbase/include/QtGui/../../src/gui/opengl/qopenglversionfunctions.h:87:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/opengl/qopenglversionfunctions.h:93:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/opengl/qopenglversionfunctions.h:98:1: error: a function-definition is not allowed here before ‘{’ token
In file included from /work/build/qt/qtbase/include/QtGui/qopenglcontext.h:1:0,
from /work/build/qt/qtbase/include/QtGui/QOpenGLContext:1,
from ./hardware_integration/qwlclientbufferintegration_p.h:47,
from wayland_wrapper/qwlsurfacebuffer.cpp:48:
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:98:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:104:1: error: a function-definition is not allowed here before ‘{’ token
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:111:1: error: a function-definition is not allowed here before ‘{’ token
In file included from /work/build/qt/qtbase/include/QtCore/qobjectdefs.h:1:0,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qwindowdefs.h:38,
from /work/build/qt/qtbase/include/QtGui/qwindowdefs.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qregion.h:39,
from /work/build/qt/qtbase/include/QtGui/qregion.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qmatrix.h:38,
from /work/build/qt/qtbase/include/QtGui/qmatrix.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/painting/qtransform.h:36,
from /work/build/qt/qtbase/include/QtGui/qtransform.h:1,
from /work/build/qt/qtbase/include/QtGui/../../src/gui/image/qimage.h:37,
from /work/build/qt/qtbase/include/QtGui/qimage.h:1,
from /work/build/qt/qtbase/include/QtGui/QImage:1,
from wayland_wrapper/qwlsurfacebuffer_p.h:46,
from wayland_wrapper/qwlsurfacebuffer.cpp:41:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:128:5: error: invalid declaration of member template in local class
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:154:5: note: in expansion of macro ‘Q_OBJECT_CHECK’
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:117:5: note: in expansion of macro ‘Q_OBJECT’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:157:30: error: local class ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QOpenGLContextGroup’ shall not have static data member ‘const QMetaObject QWaylandShmFormatHelper::supportedWaylandFormats()::QOpenGLContextGroup::staticMetaObject’ [-fpermissive]
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:117:5: note: in expansion of macro ‘Q_OBJECT’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:164:108: warning: ‘visibility’ attribute ignored [-Wattributes]
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:117:5: note: in expansion of macro ‘Q_OBJECT’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:128:5: error: invalid declaration of member template in local class
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:154:5: note: in expansion of macro ‘Q_OBJECT_CHECK’
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:140:5: note: in expansion of macro ‘Q_OBJECT’
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobjectdefs.h:157:30: error: local class ‘class QWaylandShmFormatHelper::supportedWaylandFormats()::QOpenGLContext’ shall not have static data member ‘const QMetaObject QWaylandShmFormatHelper::supportedWaylandFormats()::QOpenGLContext::staticMetaObject’ [-fpermissive]
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:140:5: note: in expansion of macro ‘Q_OBJECT’
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:140:5: note: in expansion of macro ‘Q_OBJECT’
In file included from /work/build/qt/qtbase/include/QtGui/qopenglcontext.h:1:0,
from /work/build/qt/qtbase/include/QtGui/QOpenGLContext:1,
from ./hardware_integration/qwlclientbufferintegration_p.h:47,
from wayland_wrapper/qwlsurfacebuffer.cpp:48:
/work/build/qt/qtbase/include/QtGui/../../src/gui/kernel/qopenglcontext.h:180:5: error: invalid declaration of member template in local class
In file included from wayland_wrapper/qwlsurfacebuffer.cpp:48:0:
./hardware_integration/qwlclientbufferintegration_p.h:54:1: error: ‘namespace’ definition is not allowed here
In file included from /work/build/qt/qtbase/include/QtCore/qcontiguouscache.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h:46,
from /work/build/qt/qtbase/include/QtCore/qdebug.h:1,
from /work/build/qt/qtbase/include/QtCore/QDebug:1,
from wayland_wrapper/qwlsurfacebuffer.cpp:52:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qcontiguouscache.h:69:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qcontiguouscache.h:78:1: error: a template declaration cannot appear at block scope
In file included from /work/build/qt/qtbase/include/QtCore/qcontiguouscache.h:1:0,
from /work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h:46,
from /work/build/qt/qtbase/include/QtCore/qdebug.h:1,
from /work/build/qt/qtbase/include/QtCore/QDebug:1,
from wayland_wrapper/qwlsurfacebuffer.cpp:52:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qcontiguouscache.h:169:1: error: a template declaration cannot appear at block scope
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qcontiguouscache.h:205:1: error: expected ‘;’ before ‘template’
wayland_wrapper/qwlsurfacebuffer.cpp:316:1: error: expected ‘}’ at end of input
make[3]: *** [.obj/qwlsurfacebuffer.o] Error 1
make[2]: *** [sub-compositor-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qtwayland] Error 2
Build log: http://testresults.qt-project.org/ci/QtWayland_dev_Integration/build_00091/linux-g++_developer-build_OpenSuSE_13.1_x64/log.txt.gz
Tested changes (refs/builds/dev_1421250058):
http://codereview.qt-project.org/102831 [PS2] - Add a SHM format converter class
More information about the Ci-reports
mailing list