Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.2.0
-
None
-
newest qt sources from git
> g++ --version
g++ (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012]
-
612785f39e325b0578be89e09b0e32d7d08d471e
Description
Newest qt sources from git; during compilation I get:
In file included from /tmp/permanent/src/qt5-git/qtdeclarative/src/qml/qml/qqmlcompiler_p.h:58:0,
from /tmp/permanent/src/qt5-git/qtdeclarative/src/qml/qml/qqmlcompiler.cpp:42:
/tmp/permanent/src/qt5-git/qtdeclarative/src/qml/qml/qqmlinstruction_p.h:540:1: error: ‘done.QQmlInstructionData<2>::<anonymous>.QQmlInstruction::instr_common::code’ may be used uninitialized in this function [-Werror=uninitialized]
/tmp/permanent/src/qt5-git/qtdeclarative/src/qml/qml/qqmlcompiler.cpp:956:23: note: ‘done.QQmlInstructionData<2>::<anonymous>.QQmlInstruction::instr_common::code’ was declared here
cc1plus: all warnings being treated as errors
(I've solved it for myself by adding
QMAKE_CXXFLAGS_DEBUG += -Wno-error=uninitialized QMAKE_CXXFLAGS_RELEASE += -Wno-error=uninitialized
to qtdeclarative/src/qml/qml.pro but still... )