From: Debian Qt/KDE Maintainers Date: Mon, 13 Jun 2022 18:36:23 +0000 (+0100) Subject: build fixes for GCC 11 X-Git-Tag: archive/raspbian/5.15.4+dfsg-3+rpi1^2~12 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1873520518b347ce17fb2e846e6e4f1542fb52b9;p=qtdeclarative-opensource-src.git build fixes for GCC 11 Origin: upstream, commits: https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=eb6525f126f680f9 https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=367293b18ab0d0a0 https://code.qt.io/cgit/qt/qtdeclarative.git/commit/?id=db58b8518e157b76 Last-Update: 2021-08-18 Gbp-Pq: Name gcc_11.patch --- diff --git a/src/3rdparty/masm/yarr/Yarr.h b/src/3rdparty/masm/yarr/Yarr.h index ccf78f988..2955ea7e7 100644 --- a/src/3rdparty/masm/yarr/Yarr.h +++ b/src/3rdparty/masm/yarr/Yarr.h @@ -28,6 +28,7 @@ #pragma once #include +#include #include "YarrErrorCode.h" namespace JSC { namespace Yarr { diff --git a/src/qml/compiler/qv4bytecodegenerator_p.h b/src/qml/compiler/qv4bytecodegenerator_p.h index 1895a34a6..5244c443c 100644 --- a/src/qml/compiler/qv4bytecodegenerator_p.h +++ b/src/qml/compiler/qv4bytecodegenerator_p.h @@ -186,13 +186,13 @@ QT_WARNING_POP Q_REQUIRED_RESULT Jump jumpNotUndefined() { - Instruction::JumpNotUndefined data; + Instruction::JumpNotUndefined data{}; return addJumpInstruction(data); } Q_REQUIRED_RESULT Jump jumpNoException() { - Instruction::JumpNoException data; + Instruction::JumpNoException data{}; return addJumpInstruction(data); } diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h index a7e37d196..01b2f58f1 100644 --- a/src/qmldebug/qqmlprofilerevent_p.h +++ b/src/qmldebug/qqmlprofilerevent_p.h @@ -48,6 +48,7 @@ #include #include +#include #include //