Task #1183 - fixed.err

back to task #1183
download
Error: COMPILER_WARNING:
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/include/QtCore/qfutureinterface.h:1: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfuture.h:45: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.h:284:37: warning[-Wtemplate-id-cdtor]: template-id not allowed for constructor in C++20
#  284 |     explicit QFutureInterface<void>(State initialState = NoState)
#      |                                     ^~~~~
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/corelib/thread/qfutureinterface.h:284:37: note: remove the ‘< >’
#  282|   {
#  283|   public:
#  284|->     explicit QFutureInterface<void>(State initialState = NoState)
#  285|           : QFutureInterfaceBase(initialState)
#  286|       { }

Error: COMPILER_WARNING:
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp: scope_hint: In member function ‘void QClipData::initialize()’
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp:3863:42: warning[-Wcalloc-transposed-args]: ‘void* calloc(size_t, size_t)’ sizes specified with ‘sizeof’ in the earlier argument and not in the later argument
# 3863 |         m_clipLines = (ClipLine *)calloc(sizeof(ClipLine), clipSpanHeight);
#      |                                          ^~~~~~~~~~~~~~~~
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/gui/painting/qpaintengine_raster.cpp:3863:42: note: earlier argument should specify number of elements, later size of each element
# 3861|   
# 3862|       if (!m_clipLines)
# 3863|->         m_clipLines = (ClipLine *)calloc(sizeof(ClipLine), clipSpanHeight);
# 3864|   
# 3865|       Q_CHECK_PTR(m_clipLines);

Error: CLANG_WARNING:
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.13-build/qtbase-everywhere-src-5.15.13/src/widgets/graphicsview/qgraphicsanchorlayout_p.h:355:14: warning[core.CallAndMessage]: Called C++ object pointer is null
#  353|   
#  354|       static QGraphicsAnchorPrivate *get(QGraphicsAnchor *q)
#  355|->     { return q->d_func(); }
#  356|   
#  357|       QGraphicsAnchorLayoutPrivate *layoutPrivate;