qtdeclarative failed to compile :(

  compiling scenegraph/coreapi/qsgmaterial.cpp
  scenegraph/coreapi/qsgmaterial.cpp:49:88: error: invalid use of incomplete 
type 'struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'struct 
TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.cpp: In constructor 
'TestNamespace::QSGMaterialShader::QSGMaterialShader()':
  scenegraph/coreapi/qsgmaterial.cpp:180:17: error: invalid use of incomplete 
type 'struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'struct 
TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'virtual const char* 
TestNamespace::QSGMaterialShader::vertexShader() const':
  scenegraph/coreapi/qsgmaterial.cpp:219:13: error: invalid use of incomplete 
type 'const struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'const 
struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'virtual const char* 
TestNamespace::QSGMaterialShader::fragmentShader() const':
  scenegraph/coreapi/qsgmaterial.cpp:234:13: error: invalid use of incomplete 
type 'const struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'const 
struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'void 
TestNamespace::QSGMaterialShader::setShaderSourceFile(TestNamespace::QOpenGLShader::ShaderType,
 const TestNamespace::QString&)':
  scenegraph/coreapi/qsgmaterial.cpp:320:6: error: invalid use of incomplete 
type 'struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'struct 
TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'void 
TestNamespace::QSGMaterialShader::setShaderSourceFiles(TestNamespace::QOpenGLShader::ShaderType,
 const TestNamespace::QStringList&)':
  scenegraph/coreapi/qsgmaterial.cpp:333:6: error: invalid use of incomplete 
type 'struct TestNamespace::QSGMaterialShaderPrivate'
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'struct 
TestNamespace::QSGMaterialShaderPrivate'
  In file included from 
/work/build/qt/qtbase/include/QtCore/qscopedpointer.h:1:0,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qobject.h:55,
                   from /work/build/qt/qtbase/include/QtCore/qobject.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qiodevice.h:47,
                   from /work/build/qt/qtbase/include/QtCore/qiodevice.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qtextstream.h:45,
                   from /work/build/qt/qtbase/include/QtCore/qtextstream.h:1,
                   from 
/work/build/qt/qtbase/include/QtCore/../../src/corelib/io/qdebug.h:50,
                   from /work/build/qt/qtbase/include/QtCore/qdebug.h:1,
                   from 
/work/build/qt/qtbase/include/QtGui/../../src/gui/math3d/qgenericmatrix.h:46,
                   from /work/build/qt/qtbase/include/QtGui/qgenericmatrix.h:1,
                   from 
/work/build/qt/qtbase/include/QtGui/../../src/gui/math3d/qmatrix4x4.h:48,
                   from /work/build/qt/qtbase/include/QtGui/qmatrix4x4.h:1,
                   from 
/work/build/qt/qtbase/include/QtGui/../../src/gui/opengl/qopenglshaderprogram.h:53,
                   from 
/work/build/qt/qtbase/include/QtGui/qopenglshaderprogram.h:1,
                   from scenegraph/coreapi/qsgmaterial.h:46,
                   from scenegraph/coreapi/qsgmaterial.cpp:42:
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h: 
In static member function 'static void 
TestNamespace::QScopedPointerDeleter<T>::cleanup(T*) [with T = 
TestNamespace::QSGMaterialShaderPrivate]':
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:109:9:
   instantiated from 'TestNamespace::QScopedPointer<T, 
Cleanup>::~QScopedPointer() [with T = TestNamespace::QSGMaterialShaderPrivate, 
Cleanup = 
TestNamespace::QScopedPointerDeleter<TestNamespace::QSGMaterialShaderPrivate>]'
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:59:22:
 error: invalid application of 'sizeof' to incomplete type 
'TestNamespace::QSGMaterialShaderPrivate'
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:62:9:
 error: possible problem detected in invocation of delete operator: [-Werror]
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:54:24:
 error: 'pointer' has incomplete type [-Werror]
  scenegraph/coreapi/qsgmaterial.h:51:7: error: forward declaration of 'struct 
TestNamespace::QSGMaterialShaderPrivate' [-Werror]
  
/work/build/qt/qtbase/include/QtCore/../../src/corelib/tools/qscopedpointer.h:62:9:
 note: neither the destructor nor the class-specific operator delete will be 
called, even if they are declared when the class is defined
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'virtual const char* 
TestNamespace::QSGMaterialShader::fragmentShader() const':
  scenegraph/coreapi/qsgmaterial.cpp:235:1: error: control reaches end of 
non-void function [-Werror=return-type]
  scenegraph/coreapi/qsgmaterial.cpp: In member function 'virtual const char* 
TestNamespace::QSGMaterialShader::vertexShader() const':
  scenegraph/coreapi/qsgmaterial.cpp:220:1: error: control reaches end of 
non-void function [-Werror=return-type]
  make[3]: *** [.obj/qsgmaterial.o] Error 1
  scenegraph/util/qsgflatcolormaterial.cpp: In constructor 
'TestNamespace::FlatColorMaterialShader::FlatColorMaterialShader()':
  scenegraph/util/qsgflatcolormaterial.cpp:69:30: error: invalid use of 
incomplete type 'struct TestNamespace::QSGMaterialShaderPrivate'
  
/work/build/qt/qtbase/include/QtQuick/../../../qtdeclarative/src/quick/scenegraph/coreapi/qsgmaterial.h:51:7:
 error: forward declaration of 'struct TestNamespace::QSGMaterialShaderPrivate'
  make[3]: *** [.obj/qsgflatcolormaterial.o] Error 1
  make[2]: *** [sub-quick-make_first-ordered] Error 2
  make[1]: *** [sub-src-make_first] Error 2
  make: *** [module-qtdeclarative] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtDeclarative_stable_Integration/build_01213/revdep-qtquickcontrols_linux-g++_developer-build_qtnamespace_qtlibinfix_Ubuntu_12.04_x64/log.txt.gz

  Tested changes (refs/builds/stable_1383050309):
    http://codereview.qt-project.org/67201 [PS3] - Prevent bogus warning 
message flood on nVidia driver related to mipmaps
    http://codereview.qt-project.org/69322 [PS4] - Refactor shaders into 
seprate GLSL source files
    http://codereview.qt-project.org/69312 [PS1] - QQmlSettings: fix loading of 
initial values
    http://codereview.qt-project.org/69311 [PS1] - QQmlSettings: fix indentation
    http://codereview.qt-project.org/69474 [PS4] - Rework parameter handling 
for moth
    http://codereview.qt-project.org/69473 [PS2] - Remove the LoadValue 
instruction
    http://codereview.qt-project.org/69445 [PS3] - Move constants into the 
compiled data for the interpreter
    http://codereview.qt-project.org/69444 [PS3] - Add a constant table to the 
compiled data
    http://codereview.qt-project.org/69487 [PS1] - Make sure custom particles 
mark themselves dirty.
    http://codereview.qt-project.org/69489 [PS1] - Seed Math.random in v4
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to