diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index cc83c765d..26b742983 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -256,8 +256,14 @@ QVector ConvertPassmarks(const VPiece &piece, const VContainer auto PreapreBuiltInSAPassmark = [pData, passmark, piece, &layoutPassmarks, pattern]() { + QT_WARNING_PUSH + QT_WARNING_DISABLE_GCC("-Wnoexcept") + // noexcept-expression evaluates to 'false' because of a call to 'constexpr QPointF::QPointF()' + VLayoutPassmark layoutPassmark; + QT_WARNING_POP + const QVector path = piece.GetUnitedPath(pattern); const int nodeIndex = VPiecePath::indexOfNode(path, pData.id); if (nodeIndex != -1)