qt5-qtdeclarative-5.15.15-1.fc42

List of Findings

Error: COMPILER_WARNING (CWE-477): [#def1]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/sgengine/window.cpp: scope_hint: In member function ‘void Window::initialize()’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/sgengine/window.cpp:222:27: warning[-Wdeprecated-declarations]: ‘void QSGEngine::initialize(QOpenGLContext*)’ is deprecated: QSGEngine is going to be removed in Qt 6.0. Use QQuickRenderControl instead.
#  222 |     m_sgEngine->initialize(m_context.data());
#      |     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qsgengine.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/QSGEngine:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/sgengine/window.cpp:55: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgengine.h:76:10: note: declared here
#   76 |     void initialize(QOpenGLContext *context);
#      |          ^~~~~~~~~~
#  220|   void Window::initialize()
#  221|   {
#  222|->     m_sgEngine->initialize(m_context.data());
#  223|       m_sgRenderer.reset(m_sgEngine->createRenderer());
#  224|       m_sgRenderer->setRootNode(m_sgRootNode.data());

Error: COMPILER_WARNING (CWE-477): [#def2]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/sgengine/window.cpp:224:30: warning[-Wdeprecated-declarations]: ‘void QSGAbstractRenderer::setRootNode(QSGRootNode*)’ is deprecated: QSGAbstractRenderer is no longer going to be public in Qt 6.0. QSGEngine-based workflows are expected to migrate to QQuickRenderControl instead.
#  224 |     m_sgRenderer->setRootNode(m_sgRootNode.data());
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qsgabstractrenderer.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/QSGAbstractRenderer:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/sgengine/window.cpp:54: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/coreapi/qsgabstractrenderer.h:81:10: note: declared here
#   81 |     void setRootNode(QSGRootNode *node);
#      |          ^~~~~~~~~~~
#  222|       m_sgEngine->initialize(m_context.data());
#  223|       m_sgRenderer.reset(m_sgEngine->createRenderer());
#  224|->     m_sgRenderer->setRootNode(m_sgRootNode.data());
#  225|       m_sgRenderer->setClearColor(QColor(32, 32, 32));
#  226|   

Error: COMPILER_WARNING (CWE-477): [#def3]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/textureinthread/threadrenderer.cpp: scope_hint: In constructor ‘TextureNode::TextureNode(QQuickWindow*)’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/textureinthread/threadrenderer.cpp:163:50: warning[-Wdeprecated-declarations]: ‘QSGTexture* QQuickWindow::createTextureFromId(uint, const QSize&, CreateTextureOptions) const’ is deprecated: Use createTextureFromNativeObject() instead
#  163 |         m_texture = m_window->createTextureFromId(0, QSize(1, 1));
#      |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qquickwindow.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/QQuickWindow:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/textureinthread/threadrenderer.cpp:62: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/items/qquickwindow.h:163:17: note: declared here
#  163 |     QSGTexture *createTextureFromId(uint id, const QSize &size, CreateTextureOptions options = CreateTextureOption()) const;
#      |                 ^~~~~~~~~~~~~~~~~~~
#  161|       {
#  162|           // Our texture node must have a texture, so use the default 0 texture.
#  163|->         m_texture = m_window->createTextureFromId(0, QSize(1, 1));
#  164|           setTexture(m_texture);
#  165|           setFiltering(QSGTexture::Linear);

Error: COMPILER_WARNING (CWE-477): [#def4]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/textureinthread/threadrenderer.cpp: scope_hint: In member function ‘void TextureNode::prepareNode()’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/textureinthread/threadrenderer.cpp:204:54: warning[-Wdeprecated-declarations]: ‘QSGTexture* QQuickWindow::createTextureFromId(uint, const QSize&, CreateTextureOptions) const’ is deprecated: Use createTextureFromNativeObject() instead
#  204 |             m_texture = m_window->createTextureFromId(newId, size);
#      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/items/qquickwindow.h:163:17: note: declared here
#  163 |     QSGTexture *createTextureFromId(uint id, const QSize &size, CreateTextureOptions options = CreateTextureOption()) const;
#      |                 ^~~~~~~~~~~~~~~~~~~
#  202|               // note: include QQuickWindow::TextureHasAlphaChannel if the rendered content
#  203|               // has alpha.
#  204|->             m_texture = m_window->createTextureFromId(newId, size);
#  205|               setTexture(m_texture);
#  206|   

Error: COMPILER_WARNING: [#def5]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQml/5.15.15/QtQml/private/qanimationjobutil_p.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob_p.h:55: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQml/5.15.15/QtQml/private/qabstractanimationjob_p.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob.cpp:42: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob.cpp: scope_hint: In member function ‘void QAbstractAnimationJob::finished()’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qanimationjobutil_p.h:77:39: warning[-Wdangling-pointer=]: storing the address of local variable ‘wasDeleted’ in ‘*this.QAbstractAnimationJob::m_selfDeletable.SelfDeletable::m_wasDeleted’
#   77 |     (p)->m_selfDeletable.m_wasDeleted = &wasDeleted; \
#      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qanimationjobutil_p.h:88:1: note: in expansion of macro ‘ACTION_IF_DELETED’
#   88 | ACTION_IF_DELETED(this, func, return)
#      | ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob.cpp:609:13: note: in expansion of macro ‘RETURN_IF_DELETED’
#  609 |             RETURN_IF_DELETED(change.listener->animationFinished(this));
#      |             ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qanimationjobutil_p.h:76:10: note: ‘wasDeleted’ declared here
#   76 |     bool wasDeleted = false; \
#      |          ^~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qanimationjobutil_p.h:88:1: note: in expansion of macro ‘ACTION_IF_DELETED’
#   88 | ACTION_IF_DELETED(this, func, return)
#      | ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob.cpp:609:13: note: in expansion of macro ‘RETURN_IF_DELETED’
#  609 |             RETURN_IF_DELETED(change.listener->animationFinished(this));
#      |             ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/animations/qabstractanimationjob.cpp:604:38: note: ‘this’ declared here
#  604 | void QAbstractAnimationJob::finished()
#      |                                      ^
#   75|       bool *prevWasDeleted = (p)->m_selfDeletable.m_wasDeleted; \
#   76|       bool wasDeleted = false; \
#   77|->     (p)->m_selfDeletable.m_wasDeleted = &wasDeleted; \
#   78|       {func;} \
#   79|       if (wasDeleted) { \

Error: COMPILER_WARNING: [#def6]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQml/5.15.15/QtQml/private/qv4vtable_p.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/memory/qv4heap_p.h:57: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQml/5.15.15/QtQml/private/qv4heap_p.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4value_p.h:58: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4sequenceobject_p.h:57: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4sequenceobject.cpp:42: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4vtable_p.h:205:18: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
#  205 |         DataClass() Q_DECL_EQ_DELETE; \
#      |                  ^
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4sequenceobject.cpp:264:5: note: in expansion of macro ‘V4_OBJECT2’
#  264 |     V4_OBJECT2(QQmlSequence<Container>, QV4::Object)
#      |     ^~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4vtable_p.h:205:18: note: remove the ‘< >’
#  205 |         DataClass() Q_DECL_EQ_DELETE; \
#      |                  ^
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/jsruntime/qv4sequenceobject.cpp:264:5: note: in expansion of macro ‘V4_OBJECT2’
#  264 |     V4_OBJECT2(QQmlSequence<Container>, QV4::Object)
#      |     ^~~~~~~~~~
#  203|   #define V4_OBJECT2(DataClass, superClass) \
#  204|       private: \
#  205|->         DataClass() Q_DECL_EQ_DELETE; \
#  206|           Q_DISABLE_COPY(DataClass) \
#  207|       public: \

Error: COMPILER_WARNING (CWE-590): [#def7]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/ftw/qqmlrefcount_p.h:117:1: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on pointer ‘((void* const*)location)[4]’ with nonzero offset 80
#  117 | }
#      | ^
#  115|   {
#  116|       Q_ASSERT(refCount.loadRelaxed() == 0);
#  117|-> }
#  118|   
#  119|   void QQmlRefCount::addref() const

Error: COMPILER_WARNING (CWE-590): [#def8]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/ftw/qqmlrefcount_p.h:117:1: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on pointer ‘((void* const*)node)[7]’ with nonzero offset 80
#  117 | }
#      | ^
#  115|   {
#  116|       Q_ASSERT(refCount.loadRelaxed() == 0);
#  117|-> }
#  118|   
#  119|   void QQmlRefCount::addref() const

Error: COMPILER_WARNING (CWE-590): [#def9]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/ftw/qqmlrefcount_p.h:117:1: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on pointer ‘<unknown>’ with nonzero offset 80
#  117 | }
#      | ^
#  115|   {
#  116|       Q_ASSERT(refCount.loadRelaxed() == 0);
#  117|-> }
#  118|   
#  119|   void QQmlRefCount::addref() const

Error: COMPILER_WARNING (CWE-590): [#def10]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/ftw/qqmlrefcount_p.h:117:1: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on pointer ‘<unnamed>.QQmlProfiler::RefLocation::<unnamed>.QQmlProfiler::RefLocation::._anon_549::something’ with nonzero offset 80
#  117 | }
#      | ^
#  115|   {
#  116|       Q_ASSERT(refCount.loadRelaxed() == 0);
#  117|-> }
#  118|   
#  119|   void QQmlRefCount::addref() const

Error: COMPILER_WARNING: [#def11]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/qqmlcontext_p.h:290:36: warning[-Wdangling-pointer=]: storing the address of local variable ‘guard’ in ‘*this.QQmlContextData::contextGuards’
#  290 |         contextData->contextGuards = this;
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/qqmlcontext.cpp: scope_hint: In member function ‘void QQmlContextData::refreshExpressionsRecursive(bool)’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/qqmlcontext.cpp:739:32: note: ‘guard’ declared here
#  739 |         QQmlGuardedContextData guard(this);
#      |                                ^~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/qml/qml/qqmlcontext.cpp:735:64: note: ‘this’ declared here
#  735 | void QQmlContextData::refreshExpressionsRecursive(bool isGlobal)
#      |                                                                ^
#  288|           if (m_next) m_next->m_prev = &m_next;
#  289|           m_prev = &contextData->contextGuards;
#  290|->         contextData->contextGuards = this;
#  291|       }
#  292|   }

Error: COMPILER_WARNING (CWE-457): [#def12]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/items/qquicklistview.cpp: scope_hint: In member function ‘virtual void QQuickListViewPrivate::fixup(QQuickFlickablePrivate::AxisData&, qreal, qreal)’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/items/qquicklistview.cpp:1710:15: warning[-Wmaybe-uninitialized]: ‘pos’ may be used uninitialized
# 1710 |         qreal pos;
#      |               ^~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qsgsimplematerial.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/simplematerial/simplematerialitem.cpp:53: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h: scope_hint: In instantiation of ‘QSGSimpleMaterialComparableMaterial<State>::QSGSimpleMaterialComparableMaterial(PtrShaderCreateFunc) [with State = State; PtrShaderCreateFunc = QSGMaterialShader* (*)()]’
#/builddir/build/BUILD/qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/simplematerial/simplematerialitem.cpp:80:5:   required from here
#  179 |     return new QSGSimpleMaterialComparableMaterial<State>(createShader);    \
#      |                                                                       ^
# 1708|               bottomItem = currentItem;
# 1709|           }
# 1710|->         qreal pos;
# 1711|           bool isInBounds = -position() > maxExtent && -position() <= minExtent;
# 1712|   

Error: COMPILER_WARNING (CWE-477): [#def13]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qsgsimplematerial.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/QSGSimpleMaterial:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/linenode.cpp:55: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/linenode.cpp: scope_hint: In static member function ‘static QSGSimpleMaterial<LineMaterial>* LineShader::createMaterial()’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:133:53: warning[-Wdeprecated-declarations]: ‘QSGSimpleMaterial<State>::QSGSimpleMaterial(PtrShaderCreateFunc) [with State = LineMaterial; PtrShaderCreateFunc = QSGMaterialShader* (*)()]’ is deprecated: QSGSimpleMaterial is going to be removed in Qt 6.0. Use QSGMaterial instead.
#  133 |     return new QSGSimpleMaterial<State>(createShader);          \
#      |                                                     ^
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/linenode.cpp:66:5: note: in expansion of macro ‘QSG_DECLARE_SIMPLE_SHADER’
#   66 |     QSG_DECLARE_SIMPLE_SHADER(LineShader, LineMaterial)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:153:5: note: declared here
#  153 |     QSGSimpleMaterial(PtrShaderCreateFunc func)
#      |     ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h: scope_hint: In instantiation of ‘void QSGSimpleMaterialShader<State>::updateState(const QSGMaterialShader::RenderState&, QSGMaterial*, QSGMaterial*) [with State = LineMaterial]’
#/builddir/build/BUILD/qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:204:24:   required from here
#  204 | Q_INLINE_TEMPLATE void QSGSimpleMaterialShader<State>::updateState(const RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial)
#      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  131|   static QSGSimpleMaterial<State> *createMaterial()               \
#  132|   {                                                               \
#  133|->     return new QSGSimpleMaterial<State>(createShader);          \
#  134|   }
#  135|   

Error: COMPILER_WARNING (CWE-477): [#def14]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/qsgsimplematerial.h:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/include/QtQuick/QSGSimpleMaterialShader:1: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/noisynode.cpp:54: included_from: Included from here.
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/noisynode.cpp: scope_hint: In static member function ‘static QSGSimpleMaterial<NoisyMaterial>* NoisyShader::createMaterial()’
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:133:53: warning[-Wdeprecated-declarations]: ‘QSGSimpleMaterial<State>::QSGSimpleMaterial(PtrShaderCreateFunc) [with State = NoisyMaterial; PtrShaderCreateFunc = QSGMaterialShader* (*)()]’ is deprecated: QSGSimpleMaterial is going to be removed in Qt 6.0. Use QSGMaterial instead.
#  133 |     return new QSGSimpleMaterial<State>(createShader);          \
#      |                                                     ^
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/examples/quick/scenegraph/graph/noisynode.cpp:72:5: note: in expansion of macro ‘QSG_DECLARE_SIMPLE_SHADER’
#   72 |     QSG_DECLARE_SIMPLE_SHADER(NoisyShader, NoisyMaterial)
#      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:153:5: note: declared here
#  153 |     QSGSimpleMaterial(PtrShaderCreateFunc func)
#      |     ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h: scope_hint: In instantiation of ‘void QSGSimpleMaterialShader<State>::updateState(const QSGMaterialShader::RenderState&, QSGMaterial*, QSGMaterial*) [with State = NoisyMaterial]’
#/builddir/build/BUILD/qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:204:24:   required from here
#  204 | Q_INLINE_TEMPLATE void QSGSimpleMaterialShader<State>::updateState(const RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial)
#      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  131|   static QSGSimpleMaterial<State> *createMaterial()               \
#  132|   {                                                               \
#  133|->     return new QSGSimpleMaterial<State>(createShader);          \
#  134|   }
#  135|   

Error: COMPILER_WARNING (CWE-477): [#def15]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:191:40: warning[-Wdeprecated-declarations]: ‘QSGSimpleMaterial<State>::QSGSimpleMaterial(PtrShaderCreateFunc) [with State = State; PtrShaderCreateFunc = QSGMaterialShader* (*)()]’ is deprecated: QSGSimpleMaterial is going to be removed in Qt 6.0. Use QSGMaterial instead.
#  191 |         : QSGSimpleMaterial<State>(func) {}
#      |                                        ^
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:153:5: note: declared here
#  153 |     QSGSimpleMaterial(PtrShaderCreateFunc func)
#      |     ^~~~~~~~~~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h: scope_hint: In instantiation of ‘void QSGSimpleMaterialShader<State>::updateState(const QSGMaterialShader::RenderState&, QSGMaterial*, QSGMaterial*) [with State = State]’
#/builddir/build/BUILD/qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:204:24:   required from here
#  204 | Q_INLINE_TEMPLATE void QSGSimpleMaterialShader<State>::updateState(const RenderState &state, QSGMaterial *newMaterial, QSGMaterial *oldMaterial)
#      |                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  189|   
#  190|       QSGSimpleMaterialComparableMaterial(PtrShaderCreateFunc func)
#  191|->         : QSGSimpleMaterial<State>(func) {}
#  192|   
#  193|       int compare(const QSGMaterial *other) const override {

Error: COMPILER_WARNING (CWE-477): [#def16]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:218:16: warning[-Wdeprecated-declarations]: ‘void QSGSimpleMaterialShader<State>::updateState(const State*, const State*) [with State = LineMaterial]’ is deprecated: QSGSimpleMaterialShader is going to be removed in Qt 6.0. Use QSGMaterialShader instead.
#  218 |     updateState(ns, old);
#      |     ~~~~~~~~~~~^~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:83:18: note: declared here
#   83 |     virtual void updateState(const State *newState, const State *oldState) = 0;
#      |                  ^~~~~~~~~~~
#  216|       if (oldMaterial)
#  217|           old = static_cast<QSGSimpleMaterial<State> *>(oldMaterial)->state();
#  218|->     updateState(ns, old);
#  219|   }
#  220|   

Error: COMPILER_WARNING (CWE-477): [#def17]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:218:16: warning[-Wdeprecated-declarations]: ‘void QSGSimpleMaterialShader<State>::updateState(const State*, const State*) [with State = NoisyMaterial]’ is deprecated: QSGSimpleMaterialShader is going to be removed in Qt 6.0. Use QSGMaterialShader instead.
#  218 |     updateState(ns, old);
#      |     ~~~~~~~~~~~^~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:83:18: note: declared here
#   83 |     virtual void updateState(const State *newState, const State *oldState) = 0;
#      |                  ^~~~~~~~~~~
#  216|       if (oldMaterial)
#  217|           old = static_cast<QSGSimpleMaterial<State> *>(oldMaterial)->state();
#  218|->     updateState(ns, old);
#  219|   }
#  220|   

Error: COMPILER_WARNING (CWE-477): [#def18]
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:218:16: warning[-Wdeprecated-declarations]: ‘void QSGSimpleMaterialShader<State>::updateState(const State*, const State*) [with State = State]’ is deprecated: QSGSimpleMaterialShader is going to be removed in Qt 6.0. Use QSGMaterialShader instead.
#  218 |     updateState(ns, old);
#      |     ~~~~~~~~~~~^~~~~~~~~
qt5-qtdeclarative-5.15.15-build/qtdeclarative-everywhere-src-5.15.15/src/quick/scenegraph/util/qsgsimplematerial.h:83:18: note: declared here
#   83 |     virtual void updateState(const State *newState, const State *oldState) = 0;
#      |                  ^~~~~~~~~~~
#  216|       if (oldMaterial)
#  217|           old = static_cast<QSGSimpleMaterial<State> *>(oldMaterial)->state();
#  218|->     updateState(ns, old);
#  219|   }
#  220|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-18.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameqt5-qtdeclarative-5.15.15-1.fc42
store-results-to/tmp/tmp47spt552/qt5-qtdeclarative-5.15.15-1.fc42.tar.xz
time-created2024-11-13 03:02:29
time-finished2024-11-13 03:15:32
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp47spt552/qt5-qtdeclarative-5.15.15-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp47spt552/qt5-qtdeclarative-5.15.15-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9