qt5-qtbase-5.15.15-1.fc42

List of Findings

Error: SHELLCHECK_WARNING (CWE-563): [#def1]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:73:18: warning[SC2034]: key appears unused. Verify use (or export if used externally).
#   71|   
#   72|   get_entry() {
#   73|->     local map=$1 key=$2
#   74|       local i="${map}_map_${2}"
#   75|       printf '%s' "${!i}"

Error: SHELLCHECK_WARNING (CWE-457): [#def2]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:93:42: warning[SC2154]: original_ld is referenced but not assigned.
#   91|   
#   92|   link_binary() {
#   93|->     (PS4=; test $silent -ne 1 && set -x; $original_ld "${linker_arguments[@]}" "$@") 2>&1 || exit 1
#   94|   }
#   95|   

Error: SHELLCHECK_WARNING (CWE-398): [#def3]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:175:9: warning[SC2178]: Variable was used as an array but is now assigned a string.
#  173|           fi
#  174|   
#  175|->         classname=$(get_entry address_to_classname $classname_address)
#  176|           if [ -z "$classname" ]; then
#  177|               echo " 💥  Failed to resolve class name for address '$classname_address'"

Error: SHELLCHECK_WARNING (CWE-670): [#def4]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:176:18: warning[SC2128]: Expanding an array without an index only gives the first element.
#  174|   
#  175|           classname=$(get_entry address_to_classname $classname_address)
#  176|->         if [ -z "$classname" ]; then
#  177|               echo " 💥  Failed to resolve class name for address '$classname_address'"
#  178|               continue

Error: SHELLCHECK_WARNING (CWE-457): [#def5]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:181:15: warning[SC2154]: exclude_list is referenced but not assigned.
#  179|           fi
#  180|   
#  181|->         if [[ $exclude_list =~ $classname || $classname =~ $exclude_regex ]]; then
#  182|               if [ $is_metaclass -eq 1 ]; then
#  183|                   class_type="meta class"

Error: SHELLCHECK_WARNING (CWE-457): [#def6]
/usr/lib64/qt5/mkspecs/features/data/mac/objc_namespace.sh:181:60: warning[SC2154]: exclude_regex is referenced but not assigned.
#  179|           fi
#  180|   
#  181|->         if [[ $exclude_list =~ $classname || $classname =~ $exclude_regex ]]; then
#  182|               if [ $is_metaclass -eq 1 ]; then
#  183|                   class_type="meta class"

Error: SHELLCHECK_WARNING (CWE-88): [#def7]
/usr/lib64/qt5/mkspecs/features/uikit/device_destinations.sh:45:51: error[SC2068]: Double quote array expansions to avoid re-splitting elements.
#   43|   scheme=$1
#   44|   shift
#   45|-> booted_simulator=$($DIR/devices.py --state booted $@ | tail -n 1)
#   46|   echo "SIMULATOR_DEVICES = $booted_simulator"
#   47|   

Error: SHELLCHECK_WARNING (CWE-477): [#def8]
/usr/lib64/qt5/mkspecs/features/uikit/device_destinations.sh:60:45: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#   58|               if [ "$val" = "iOS" ]; then
#   59|                   echo "HARDWARE_DEVICES += $id"
#   60|->             elif [ "$val" = "iOS Simulator" -a "$id" != "$booted_simulator" ]; then
#   61|                   echo "SIMULATOR_DEVICES += $id"
#   62|               elif [ "$val" = "tvOS" ]; then

Error: SHELLCHECK_WARNING (CWE-477): [#def9]
/usr/lib64/qt5/mkspecs/features/uikit/device_destinations.sh:64:46: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#   62|               elif [ "$val" = "tvOS" ]; then
#   63|                   echo "HARDWARE_DEVICES += $id"
#   64|->             elif [ "$val" = "tvOS Simulator" -a "$id" != "$booted_simulator" ]; then
#   65|                   echo "SIMULATOR_DEVICES += $id"
#   66|               elif [ "$val" = "watchOS" ]; then

Error: SHELLCHECK_WARNING (CWE-477): [#def10]
/usr/lib64/qt5/mkspecs/features/uikit/device_destinations.sh:68:49: warning[SC2166]: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#   66|               elif [ "$val" = "watchOS" ]; then
#   67|                   echo "HARDWARE_DEVICES += $id"
#   68|->             elif [ "$val" = "watchOS Simulator" -a "$id" != "$booted_simulator" ]; then
#   69|                   echo "SIMULATOR_DEVICES += $id"
#   70|               fi

Error: CPPCHECK_WARNING (CWE-758): [#def11]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/config.tests/x86_simd/main.cpp:130: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  128|       unsigned long long ull;
#  129|       if (_rdrand64_step(&ull))
#  130|->         return 1;
#  131|   #  endif
#  132|   }

Error: CPPCHECK_WARNING (CWE-758): [#def12]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/config.tests/x86_simd/main.cpp:147: error[missingReturn]: Found an exit path from function with non-void return type that has missing return statement
#  145|       unsigned long long ull;
#  146|       if (_rdseed64_step(&ull))
#  147|->         return 1;
#  148|   #  endif
#  149|   }

Error: COMPILER_WARNING (CWE-477): [#def13]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/dbus/complexpingpong/complexping.cpp: scope_hint: In function ‘int main(int, char**)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/dbus/complexpingpong/complexping.cpp:124:15: warning[-Wdeprecated-declarations]: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead
#  124 |     pong.start("./complexpong");
#      |     ~~~~~~~~~~^~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qprocess.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/QProcess:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/dbus/complexpingpong/complexping.cpp:56: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/io/qprocess.h:168:10: note: declared here
#  168 |     void start(const QString &command, OpenMode mode = ReadWrite);
#      |          ^~~~~
#  122|   
#  123|       QProcess pong;
#  124|->     pong.start("./complexpong");
#  125|   
#  126|       app.exec();

Error: COMPILER_WARNING: [#def14]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/3rdparty/fbm.c:105:20: warning[-Warray-parameter=]: argument 1 of type ‘float[3]’ with mismatched bound
#  105 | float noise3(float vec[3])
#      |              ~~~~~~^~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/3rdparty/fbm.c:18: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/3rdparty/fbm.h:29:20: note: previously declared as ‘float[]’
#   29 | float noise3(float vec[]);
#      |              ~~~~~~^~~~~
#  103|   
#  104|   
#  105|-> float noise3(float vec[3])
#  106|   {
#  107|       int bx0, bx1, by0, by1, bz0, bz1, b00, b10, b01, b11;

Error: CPPCHECK_WARNING (CWE-682): [#def15]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glbuffers.h:224: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  222|               switch (desc->field) {
#  223|               case VertexDescription::Position:
#  224|->                 glVertexPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  225|                   glEnableClientState(GL_VERTEX_ARRAY);
#  226|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def16]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glbuffers.h:228: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  226|                   break;
#  227|               case VertexDescription::TexCoord:
#  228|->                 glTexCoordPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  229|                   glEnableClientState(GL_TEXTURE_COORD_ARRAY);
#  230|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def17]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glbuffers.h:232: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  230|                   break;
#  231|               case VertexDescription::Normal:
#  232|->                 glNormalPointer(desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  233|                   glEnableClientState(GL_NORMAL_ARRAY);
#  234|                   break;

Error: CPPCHECK_WARNING (CWE-682): [#def18]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glbuffers.h:236: error[nullPointerArithmetic]: Pointer addition with NULL pointer.
#  234|                   break;
#  235|               case VertexDescription::Color:
#  236|->                 glColorPointer(desc->count, desc->type, sizeof(T), BUFFER_OFFSET(desc->offset));
#  237|                   glEnableClientState(GL_COLOR_ARRAY);
#  238|                   break;

Error: COMPILER_WARNING (CWE-477): [#def19]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mouseMoveEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp:906:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  906 |     if (event->buttons() & Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qnamespace.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/kernel/qobjectdefs.h:48: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qobjectdefs.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/kernel/qobject.h:46: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qobject.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/animation/qabstractanimation.h:43: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qabstractanimation.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/QtCore:6: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtOpenGL/QtOpenGLDepends:3: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtOpenGL/QtOpenGL:3: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glextensions.h:54: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/glbuffers.h:55: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.h:54: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp:51: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  904|       }
#  905|   
#  906|->     if (event->buttons() & Qt::MidButton) {
#  907|           m_trackBalls[2].move(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  908|           event->accept();

Error: COMPILER_WARNING (CWE-477): [#def20]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mousePressEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp:930:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  930 |     if (event->buttons() & Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  928|       }
#  929|   
#  930|->     if (event->buttons() & Qt::MidButton) {
#  931|           m_trackBalls[2].push(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  932|           event->accept();

Error: COMPILER_WARNING (CWE-477): [#def21]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp: scope_hint: In member function ‘virtual void Scene::mouseReleaseEvent(QGraphicsSceneMouseEvent*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/graphicsview/boxes/scene.cpp:952:32: warning[-Wdeprecated-declarations]: ‘Qt::MidButton’ is deprecated: MidButton is deprecated. Use MiddleButton instead
#  952 |     if (event->button() == Qt::MidButton) {
#      |                                ^~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qnamespace.h:138:9: note: declared here
#  138 |         MidButton Q_DECL_ENUMERATOR_DEPRECATED_X("MidButton is deprecated. Use MiddleButton instead") = MiddleButton,
#      |         ^~~~~~~~~
#  950|       }
#  951|   
#  952|->     if (event->button() == Qt::MidButton) {
#  953|           m_trackBalls[2].release(pixelPosToViewPos(event->scenePos()), QQuaternion());
#  954|           event->accept();

Error: COMPILER_WARNING: [#def22]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/addressbook/addresswidget.cpp: scope_hint: In member function ‘void AddressWidget::setupTabs()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/addressbook/addresswidget.cpp:162:25: warning[-Wrange-loop-construct]: loop variable ‘str’ of type ‘const QString&’ binds to a temporary constructed from type ‘const char* const’
#  162 |     for (const QString &str : groups) {
#      |                         ^~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/addressbook/addresswidget.cpp:162:25: note: use non-reference type ‘const QString’ to make the copy explicit or ‘const char* const&’ to prevent copying
#  160|       const auto groups = { "ABC", "DEF", "GHI", "JKL", "MNO", "PQR", "STU", "VW", "XYZ" };
#  161|   
#  162|->     for (const QString &str : groups) {
#  163|           const auto regExp = QRegularExpression(QString("^[%1].*").arg(str),
#  164|                                                  QRegularExpression::CaseInsensitiveOption);

Error: COMPILER_WARNING (CWE-477): [#def23]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp: scope_hint: In member function ‘void MainWindow::printImage()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:200:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  200 |     double xscale = printer.pageRect().width() / double(sourceWidth);
#      |                     ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/qprinter.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/QPrinter:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:59: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  198|       painter.save();
#  199|   
#  200|->     double xscale = printer.pageRect().width() / double(sourceWidth);
#  201|       double yscale = printer.pageRect().height() / double(sourceHeight);
#  202|       double scale = qMin(xscale, yscale);

Error: COMPILER_WARNING (CWE-477): [#def24]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:201:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  201 |     double yscale = printer.pageRect().height() / double(sourceHeight);
#      |                     ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  199|   
#  200|       double xscale = printer.pageRect().width() / double(sourceWidth);
#  201|->     double yscale = printer.pageRect().height() / double(sourceHeight);
#  202|       double scale = qMin(xscale, yscale);
#  203|   

Error: COMPILER_WARNING (CWE-477): [#def25]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:204:40: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::paperRect() const’ is deprecated: Use pageLayout().fullRectPixels(resolution()) instead.
#  204 |     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#      |                       ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:257:11: note: declared here
#  257 |     QRect paperRect() const;
#      |           ^~~~~~~~~
#  202|       double scale = qMin(xscale, yscale);
#  203|   
#  204|->     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|                         printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);

Error: COMPILER_WARNING (CWE-477): [#def26]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:204:65: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  204 |     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#      |                                                 ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  202|       double scale = qMin(xscale, yscale);
#  203|   
#  204|->     painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|                         printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);

Error: COMPILER_WARNING (CWE-477): [#def27]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:205:40: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::paperRect() const’ is deprecated: Use pageLayout().fullRectPixels(resolution()) instead.
#  205 |                       printer.paperRect().y() + printer.pageRect().height() / 2);
#      |                       ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:257:11: note: declared here
#  257 |     QRect paperRect() const;
#      |           ^~~~~~~~~
#  203|   
#  204|       painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|->                       printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);
#  207|       painter.translate(-sourceWidth / 2, -sourceHeight / 2);

Error: COMPILER_WARNING (CWE-477): [#def28]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/itemviews/pixelator/mainwindow.cpp:205:65: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  205 |                       printer.paperRect().y() + printer.pageRect().height() / 2);
#      |                                                 ~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  203|   
#  204|       painter.translate(printer.paperRect().x() + printer.pageRect().width() / 2,
#  205|->                       printer.paperRect().y() + printer.pageRect().height() / 2);
#  206|       painter.scale(scale, scale);
#  207|       painter.translate(-sourceWidth / 2, -sourceHeight / 2);

Error: COMPILER_WARNING (CWE-477): [#def29]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp: scope_hint: In member function ‘void MainWindow::printPage(int, QPainter*, QPrinter*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:323:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  323 |     qreal xScale = printer->pageRect().width() / width;
#      |                    ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/qprinter.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/QPrinter:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:55: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  321|       }
#  322|   
#  323|->     qreal xScale = printer->pageRect().width() / width;
#  324|       qreal yScale = printer->pageRect().height() / height;
#  325|       qreal scale = qMin(xScale, yScale);

Error: COMPILER_WARNING (CWE-477): [#def30]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:324:37: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  324 |     qreal yScale = printer->pageRect().height() / height;
#      |                    ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  322|   
#  323|       qreal xScale = printer->pageRect().width() / width;
#  324|->     qreal yScale = printer->pageRect().height() / height;
#  325|       qreal scale = qMin(xScale, yScale);
#  326|   

Error: COMPILER_WARNING (CWE-477): [#def31]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:327:46: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  327 |     qreal remainingHeight = printer->pageRect().height()/scale - height;
#      |                             ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  325|       qreal scale = qMin(xScale, yScale);
#  326|   
#  327|->     qreal remainingHeight = printer->pageRect().height()/scale - height;
#  328|       qreal spaceHeight = (remainingHeight / 4.0) / (items.count() + 1);
#  329|       qreal interLineHeight = (remainingHeight / 4.0) / (sampleSizes.count() * items.count());

Error: COMPILER_WARNING (CWE-477): [#def32]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:332:41: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  332 |     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#      |                        ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  330|   
#  331|       painter->save();
#  332|->     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#  333|       painter->scale(scale, scale);
#  334|       painter->setBrush(QBrush(Qt::black));

Error: COMPILER_WARNING (CWE-477): [#def33]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/painting/fontsampler/mainwindow.cpp:332:76: warning[-Wdeprecated-declarations]: ‘QRect QPrinter::pageRect() const’ is deprecated: Use pageLayout().paintRectPixels(resolution()) instead.
#  332 |     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#      |                                                           ~~~~~~~~~~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:259:11: note: declared here
#  259 |     QRect pageRect() const;
#      |           ^~~~~~~~
#  330|   
#  331|       painter->save();
#  332|->     painter->translate(printer->pageRect().width() / 2.0, printer->pageRect().height() / 2.0);
#  333|       painter->scale(scale, scale);
#  334|       painter->setBrush(QBrush(Qt::black));

Error: COMPILER_WARNING (CWE-477): [#def34]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/icons/mainwindow.cpp: scope_hint: In member function ‘QWidget* MainWindow::createIconSizeGroupBox()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/icons/mainwindow.cpp:375:54: warning[-Wdeprecated-declarations]: ‘void QButtonGroup::buttonToggled(int, bool)’ is deprecated: Use QButtonGroup::idToggled(int, bool) instead
#  375 |     connect(sizeButtonGroup, QOverload<int, bool>::of(&QButtonGroup::buttonToggled),
#      |                              ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/qbuttongroup.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/QButtonGroup:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/icons/mainwindow.cpp:57: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/widgets/widgets/qbuttongroup.h:96:10: note: declared here
#   96 |     void buttonToggled(int, bool);
#      |          ^~~~~~~~~~~~~
#  373|       sizeButtonGroup->setExclusive(true);
#  374|   
#  375|->     connect(sizeButtonGroup, QOverload<int, bool>::of(&QButtonGroup::buttonToggled),
#  376|               this, &MainWindow::changeSize);
#  377|   

Error: COMPILER_WARNING (CWE-477): [#def35]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/tooltips/sortingbox.cpp: scope_hint: In member function ‘virtual void SortingBox::resizeEvent(QResizeEvent*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/tooltips/sortingbox.cpp:132:47: warning[-Wdeprecated-declarations]: ‘QStyle::PM_DefaultTopLevelMargin’ is deprecated
#  132 |     int margin = style()->pixelMetric(QStyle::PM_DefaultTopLevelMargin);
#      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/qstyle.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/QStyle:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/tooltips/sortingbox.cpp:57: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/widgets/styles/qstyle.h:541:9: note: declared here
#  541 |         PM_DefaultTopLevelMargin Q_DECL_ENUMERATOR_DEPRECATED,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
#  130|   void SortingBox::resizeEvent(QResizeEvent * /* event */)
#  131|   {
#  132|->     int margin = style()->pixelMetric(QStyle::PM_DefaultTopLevelMargin);
#  133|       int x = width() - margin;
#  134|       int y = height() - margin;

Error: COMPILER_WARNING (CWE-477): [#def36]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/tooltips/sortingbox.cpp: scope_hint: In member function ‘int SortingBox::updateButtonGeometry(QToolButton*, int, int)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/widgets/tooltips/sortingbox.cpp:249:43: warning[-Wdeprecated-declarations]: ‘QStyle::PM_DefaultLayoutSpacing’ is deprecated
#  249 |            - style()->pixelMetric(QStyle::PM_DefaultLayoutSpacing);
#      |                                           ^~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/widgets/styles/qstyle.h:543:9: note: declared here
#  543 |         PM_DefaultLayoutSpacing Q_DECL_ENUMERATOR_DEPRECATED,
#      |         ^~~~~~~~~~~~~~~~~~~~~~~
#  247|   
#  248|       return y - size.rheight()
#  249|->            - style()->pixelMetric(QStyle::PM_DefaultLayoutSpacing);
#  250|   }
#  251|   //! [20]

Error: CPPCHECK_WARNING (CWE-562): [#def37]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/harfbuzz/src/harfbuzz-hangul.c:194: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  192|           for (i = 0; i < len; ++i)
#  193|               logClusters[i] = i;
#  194|->         item->log_clusters = logClusters;
#  195|   
#  196|           HB_OpenTypeShape(item, /*properties*/0);

Error: CPPCHECK_WARNING (CWE-401): [#def38]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/harfbuzz/src/harfbuzz-impl.c:67: error[memleak]: Memory leak: block2
#   65|   
#   66|       *perror = error;
#   67|->     return block;
#   68|   }
#   69|   

Error: CPPCHECK_WARNING (CWE-457): [#def39]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/harfbuzz/src/harfbuzz-khmer.c:578: warning[uninitvar]: Uninitialized variable: where
#  576|           }
#  577|   
#  578|->         HB_OpenTypeShape(item, where);
#  579|           if (!HB_OpenTypePosition(item, availableGlyphs, /*doLogClusters*/FALSE))
#  580|               return FALSE;

Error: CPPCHECK_WARNING (CWE-457): [#def40]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/harfbuzz/src/harfbuzz-myanmar.c:447: warning[uninitvar]: Uninitialized variable: where
#  445|           }
#  446|   
#  447|->         HB_OpenTypeShape(item, where);
#  448|           if (!HB_OpenTypePosition(item, availableGlyphs, /*doLogClusters*/FALSE))
#  449|               return FALSE;

Error: COMPILER_WARNING (CWE-563): [#def41]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_merge_lines’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:890:73: warning[-Wunused-parameter]: unused parameter ‘n_lines’
#  890 | md_merge_lines(MD_CTX* ctx, OFF beg, OFF end, const MD_LINE* lines, int n_lines,
#      |                                                                     ~~~~^~~~~~~
#  888|    */
#  889|   static void
#  890|-> md_merge_lines(MD_CTX* ctx, OFF beg, OFF end, const MD_LINE* lines, int n_lines,
#  891|                  CHAR line_break_replacement_char, CHAR* buffer, SZ* p_size)
#  892|   {

Error: COMPILER_WARNING (CWE-563): [#def42]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_hex_entity_contents’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1235:35: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1235 | md_is_hex_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                           ~~~~~~~~^~~
# 1233|   
# 1234|   static int
# 1235|-> md_is_hex_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1236|   {
# 1237|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def43]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_dec_entity_contents’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1251:35: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1251 | md_is_dec_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                           ~~~~~~~~^~~
# 1249|   
# 1250|   static int
# 1251|-> md_is_dec_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1252|   {
# 1253|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def44]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_is_named_entity_contents’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1267:37: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1267 | md_is_named_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
#      |                             ~~~~~~~~^~~
# 1265|   
# 1266|   static int
# 1267|-> md_is_named_entity_contents(MD_CTX* ctx, const CHAR* text, OFF beg, OFF max_end, OFF* p_end)
# 1268|   {
# 1269|       OFF off = beg;

Error: COMPILER_WARNING (CWE-563): [#def45]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_free_attribute’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1373:27: warning[-Wunused-parameter]: unused parameter ‘ctx’
# 1373 | md_free_attribute(MD_CTX* ctx, MD_ATTRIBUTE_BUILD* build)
#      |                   ~~~~~~~~^~~
# 1371|   
# 1372|   static void
# 1373|-> md_free_attribute(MD_CTX* ctx, MD_ATTRIBUTE_BUILD* build)
# 1374|   {
# 1375|       if(build->substr_alloc > 0) {

Error: COMPILER_WARNING (CWE-195): [#def46]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_link_label_cmp’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1590:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘MD_OFFSET’ {aka ‘unsigned int’} and ‘int’
# 1590 |         if(a_fi_off >= a_fi.n_codepoints) {
#      |                     ^~
# 1588|       while(!a_reached_end  ||  !b_reached_end) {
# 1589|           /* If needed, load fold info for next char. */
# 1590|->         if(a_fi_off >= a_fi.n_codepoints) {
# 1591|               a_fi_off = 0;
# 1592|               a_off = md_link_label_cmp_load_fold_info(a_label, a_off, a_size, &a_fi);

Error: COMPILER_WARNING (CWE-195): [#def47]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:1595:21: warning[-Wsign-compare]: comparison of integer expressions of different signedness: ‘MD_OFFSET’ {aka ‘unsigned int’} and ‘int’
# 1595 |         if(b_fi_off >= b_fi.n_codepoints) {
#      |                     ^~
# 1593|               a_reached_end = (a_off >= a_size);
# 1594|           }
# 1595|->         if(b_fi_off >= b_fi.n_codepoints) {
# 1596|               b_fi_off = 0;
# 1597|               b_off = md_link_label_cmp_load_fold_info(b_label, b_off, b_size, &b_fi);

Error: COMPILER_WARNING: [#def48]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_rollback’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:2668:19: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 2668 |                 if((mark_flags & MD_MARK_CLOSER)  &&  mark->prev > opener_index) {
#      |                   ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:2675:13: note: here
# 2675 |             default:
#      |             ^~~~~~~
# 2666|           switch(how) {
# 2667|               case MD_ROLLBACK_CROSSING:
# 2668|->                 if((mark_flags & MD_MARK_CLOSER)  &&  mark->prev > opener_index) {
# 2669|                       /* If we are closer with opener INSIDE the range, there may
# 2670|                        * not be any other crosser inside the subrange. */

Error: COMPILER_WARNING (CWE-563): [#def49]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_analyze_marks’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:3945:46: warning[-Wunused-parameter]: unused parameter ‘lines’
# 3945 | md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
#      |                               ~~~~~~~~~~~~~~~^~~~~
# 3943|   
# 3944|   static inline void
# 3945|-> md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
# 3946|                    int mark_beg, int mark_end, const CHAR* mark_chars)
# 3947|   {

Error: COMPILER_WARNING (CWE-563): [#def50]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:3945:57: warning[-Wunused-parameter]: unused parameter ‘n_lines’
# 3945 | md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
#      |                                                     ~~~~^~~~~~~
# 3943|   
# 3944|   static inline void
# 3945|-> md_analyze_marks(MD_CTX* ctx, const MD_LINE* lines, int n_lines,
# 3946|                    int mark_beg, int mark_end, const CHAR* mark_chars)
# 3947|   {

Error: COMPILER_WARNING: [#def51]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_process_inlines’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:4153:23: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 4153 |                     if(ctx->parser.flags & MD_FLAG_UNDERLINE) {
#      |                       ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:4169:17: note: here
# 4169 |                 case '*':       /* Emphasis, strong emphasis. */
#      |                 ^~~~
# 4151|   
# 4152|                   case '_':       /* Underline (or emphasis if we fall through). */
# 4153|->                     if(ctx->parser.flags & MD_FLAG_UNDERLINE) {
# 4154|                           if(mark->flags & MD_MARK_OPENER) {
# 4155|                               while(off < mark->end) {

Error: COMPILER_WARNING: [#def52]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:4257:23: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 4257 |                     if(!(mark->flags & MD_MARK_AUTOLINK)) {
#      |                       ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:4267:17: note: here
# 4267 |                 case '@':       /* Permissive e-mail autolink. */
#      |                 ^~~~
# 4255|                   case '<':
# 4256|                   case '>':       /* Autolink or raw HTML. */
# 4257|->                     if(!(mark->flags & MD_MARK_AUTOLINK)) {
# 4258|                           /* Raw HTML. */
# 4259|                           if(mark->flags & MD_MARK_OPENER)

Error: COMPILER_WARNING: [#def53]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_enter_child_containers’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:5534:33: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 5534 |                 is_ordered_list = TRUE;
#      |                                 ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:5537:13: note: here
# 5537 |             case _T('-'):
#      |             ^~~~
# 5532|               case _T(')'):
# 5533|               case _T('.'):
# 5534|->                 is_ordered_list = TRUE;
# 5535|                   /* Pass through */
# 5536|   

Error: COMPILER_WARNING: [#def54]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: In function ‘md_leave_child_containers’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:5580:33: warning[-Wimplicit-fallthrough=]: this statement may fall through
# 5580 |                 is_ordered_list = TRUE;
#      |                                 ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:5583:13: note: here
# 5583 |             case _T('-'):
#      |             ^~~~
# 5578|               case _T(')'):
# 5579|               case _T('.'):
# 5580|->                 is_ordered_list = TRUE;
# 5581|                   /* Pass through */
# 5582|   

Error: COMPILER_WARNING (CWE-909): [#def55]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c: scope_hint: At top level
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:5686:1: warning[-Wmissing-field-initializers]: missing initializer for field ‘beg’ of ‘MD_LINE_ANALYSIS’ {aka ‘const struct MD_LINE_ANALYSIS_tag’}
# 5686 | static const MD_LINE_ANALYSIS md_dummy_blank_line = { MD_LINE_BLANK, 0 };
#      | ^~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/3rdparty/md4c/md4c.c:214:9: note: ‘beg’ declared here
#  214 |     OFF beg;
#      |         ^~~
# 5684|   }
# 5685|   
# 5686|-> static const MD_LINE_ANALYSIS md_dummy_blank_line = { MD_LINE_BLANK, 0 };
# 5687|   
# 5688|   /* Analyze type of the line and find some its properties. This serves as a

Error: COMPILER_WARNING (CWE-1164): [#def56]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qlibraryinfo.cpp:657:16: warning[-Wunused-function]: ‘QString getExtPrefixFromHostBinDir()’ defined but not used
#  657 | static QString getExtPrefixFromHostBinDir()
#      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
#  655|   }
#  656|   
#  657|-> static QString getExtPrefixFromHostBinDir()
#  658|   {
#  659|       return getPrefixFromHostBinDir(QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH);

Error: COMPILER_WARNING (CWE-563): [#def57]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qlibraryinfo.cpp: scope_hint: In static member function ‘static QString QLibraryInfo::rawLocation(LibraryLocation, PathGroup)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qlibraryinfo.cpp:713:10: warning[-Wunused-but-set-variable]: variable ‘fromConf’ set but not used
#  713 |     bool fromConf = false;
#      |          ^~~~~~~~
#  711|   #endif // QT_BUILD_QMAKE, started inside location !
#  712|       QString ret;
#  713|->     bool fromConf = false;
#  714|   #if QT_CONFIG(settings)
#  715|   #ifdef QT_BUILD_QMAKE

Error: COMPILER_WARNING: [#def58]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qmalloc.cpp: scope_hint: In function ‘void* qReallocAligned(void*, size_t, size_t, size_t)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qmalloc.cpp:115:18: warning[-Wuse-after-free]: pointer ‘actualptr’ may be used after ‘void* realloc(void*, size_t)’
#  115 |         qptrdiff oldoffset = static_cast<char *>(oldptr) - static_cast<char *>(actualptr);
#      |                  ^~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qmalloc.cpp:106:25: note: call to ‘void* realloc(void*, size_t)’ here
#  106 |     void *real = realloc(actualptr, newsize + alignment);
#      |                  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  113|   
#  114|       if (oldptr) {
#  115|->         qptrdiff oldoffset = static_cast<char *>(oldptr) - static_cast<char *>(actualptr);
#  116|           qptrdiff newoffset = reinterpret_cast<char *>(faked_ptr) - static_cast<char *>(real);
#  117|           if (oldoffset != newoffset)

Error: COMPILER_WARNING (CWE-457): [#def59]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:648:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  648 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h: scope_hint: In member function ‘void QList<T>::append(const T&) [with T = QString]’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:640:22: note: ‘copy’ declared here
#  640 |             Node *n, copy;
#      |                      ^~~~
#  646|                   QT_RETHROW;
#  647|               }
#  648|->             *n = copy;
#  649|           }
#  650|       }

Error: COMPILER_WARNING (CWE-457): [#def60]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:682:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  682 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h: scope_hint: In member function ‘virtual void ProjectGenerator::init()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:674:22: note: ‘copy’ declared here
#  674 |             Node *n, copy;
#      |                      ^~~~
#  680|                   QT_RETHROW;
#  681|               }
#  682|->             *n = copy;
#  683|           }
#  684|       }

Error: COMPILER_WARNING (CWE-457): [#def61]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:722:13: warning[-Wmaybe-uninitialized]: ‘copy’ may be used uninitialized
#  722 |             *n = copy;
#      |             ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h: scope_hint: In function ‘QString commandLinesForOutput(QStringList)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qlist.h:714:22: note: ‘copy’ declared here
#  714 |             Node *n, copy;
#      |                      ^~~~
#  720|                   QT_RETHROW;
#  721|               }
#  722|->             *n = copy;
#  723|           }
#  724|       }

Error: COMPILER_WARNING (CWE-590): [#def62]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qshareddata.h:93:62: warning[-Wfree-nonheap-object]: ‘void operator delete(void*)’ called on unallocated object ‘c_locale’
#   93 |     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#      |                                                              ^~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/text/qlocale.cpp: scope_hint: In static member function ‘static QList<QLocale> QLocale::matchingLocales(Language, Script, Country)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/text/qlocale.cpp:641:27: note: declared here
#  641 |     static QLocalePrivate c_locale{
#      |                           ^~~~~~~~
#   91|   
#   92|       inline QSharedDataPointer() { d = nullptr; }
#   93|->     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#   94|   
#   95|       explicit QSharedDataPointer(T *data) noexcept;

Error: COMPILER_WARNING (CWE-590): [#def63]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qshareddata.h:93:62: warning[-Wfree-nonheap-object]: ‘void operator delete(void*, std::size_t)’ called on unallocated object ‘c_locale’
#   93 |     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#      |                                                              ^~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/text/qlocale.cpp: scope_hint: In static member function ‘static QList<QLocale> QLocale::matchingLocales(Language, Script, Country)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/text/qlocale.cpp:641:27: note: declared here
#  641 |     static QLocalePrivate c_locale{
#      |                           ^~~~~~~~
#   91|   
#   92|       inline QSharedDataPointer() { d = nullptr; }
#   93|->     inline ~QSharedDataPointer() { if (d && !d->ref.deref()) delete d; }
#   94|   
#   95|       explicit QSharedDataPointer(T *data) noexcept;

Error: COMPILER_WARNING: [#def64]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/dbus/qdbusintegrator.cpp: scope_hint: In member function ‘void QDBusConnectionPrivate::deliverCall(QObject*, int, const QDBusMessage&, const QVector<int>&, int)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/dbus/qdbusintegrator.cpp:941:25: warning[-Wdangling-reference]: possibly dangling reference to a temporary
#  941 |         const QVariant &arg = msg.arguments().at(i - 1);
#      |                         ^~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/dbus/qdbusintegrator.cpp:941:49: note: the temporary was destroyed at the end of the full expression ‘QDBusMessage::arguments() const().QList<QVariant>::at((i - 1))’
#  941 |         const QVariant &arg = msg.arguments().at(i - 1);
#      |                               ~~~~~~~~~~~~~~~~~~^~~~~~~
#  939|               break;
#  940|   
#  941|->         const QVariant &arg = msg.arguments().at(i - 1);
#  942|           if (arg.userType() == id)
#  943|               // no conversion needed

Error: COMPILER_WARNING (CWE-477): [#def65]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qfontengine.cpp: scope_hint: In member function ‘bool QFontEngine::supportsScript(QChar::Script) const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qfontengine.cpp:377:35: warning[-Wdeprecated-declarations]: ‘void hb_ot_tags_from_script(hb_script_t, hb_tag_t*, hb_tag_t*)’ is deprecated: Use 'hb_ot_tags_from_script_and_language' instead
#  377 |             hb_ot_tags_from_script(hb_qt_script_to_script(script), &script_tag_1, &script_tag_2);
#      |             ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb-ot.h:34: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qfontengine.cpp:58: included_from: Included from here.
/usr/include/harfbuzz/hb-ot-deprecated.h:88:1: note: declared here
#   88 | hb_ot_tags_from_script (hb_script_t  script,
#      | ^~~~~~~~~~~~~~~~~~~~~~
#  375|           if (hb_face_t *face = hb_qt_face_get_for_engine(const_cast<QFontEngine *>(this))) {
#  376|               hb_tag_t script_tag_1, script_tag_2;
#  377|->             hb_ot_tags_from_script(hb_qt_script_to_script(script), &script_tag_1, &script_tag_2);
#  378|   
#  379|               unsigned int script_index;

Error: COMPILER_WARNING (CWE-477): [#def66]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qharfbuzzng.cpp: scope_hint: In constructor ‘_hb_unicode_funcs_t::_hb_unicode_funcs_t()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qharfbuzzng.cpp:432:50: warning[-Wdeprecated-declarations]: ‘void hb_unicode_funcs_set_eastasian_width_func(hb_unicode_funcs_t*, hb_unicode_eastasian_width_func_t, void*, hb_destroy_func_t)’ is deprecated
#  432 |         hb_unicode_funcs_set_eastasian_width_func(funcs, _hb_qt_unicode_eastasian_width, NULL, NULL);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb.h:34: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qharfbuzzng_p.h:61: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qharfbuzzng.cpp:41: included_from: Included from here.
/usr/include/harfbuzz/hb-deprecated.h:148:1: note: declared here
#  148 | hb_unicode_funcs_set_eastasian_width_func (hb_unicode_funcs_t *ufuncs,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  430|           funcs = hb_unicode_funcs_create(NULL);
#  431|           hb_unicode_funcs_set_combining_class_func(funcs, _hb_qt_unicode_combining_class, NULL, NULL);
#  432|->         hb_unicode_funcs_set_eastasian_width_func(funcs, _hb_qt_unicode_eastasian_width, NULL, NULL);
#  433|           hb_unicode_funcs_set_general_category_func(funcs, _hb_qt_unicode_general_category, NULL, NULL);
#  434|           hb_unicode_funcs_set_mirroring_func(funcs, _hb_qt_unicode_mirroring, NULL, NULL);

Error: COMPILER_WARNING (CWE-477): [#def67]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/gui/text/qharfbuzzng.cpp:438:58: warning[-Wdeprecated-declarations]: ‘void hb_unicode_funcs_set_decompose_compatibility_func(hb_unicode_funcs_t*, hb_unicode_decompose_compatibility_func_t, void*, hb_destroy_func_t)’ is deprecated
#  438 |         hb_unicode_funcs_set_decompose_compatibility_func(funcs, _hb_qt_unicode_decompose_compatibility, NULL, NULL);
#      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/harfbuzz/hb-deprecated.h:216:1: note: declared here
#  216 | hb_unicode_funcs_set_decompose_compatibility_func (hb_unicode_funcs_t *ufuncs,
#      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#  436|           hb_unicode_funcs_set_compose_func(funcs, _hb_qt_unicode_compose, NULL, NULL);
#  437|           hb_unicode_funcs_set_decompose_func(funcs, _hb_qt_unicode_decompose, NULL, NULL);
#  438|->         hb_unicode_funcs_set_decompose_compatibility_func(funcs, _hb_qt_unicode_decompose_compatibility, NULL, NULL);
#  439|       }
#  440|       ~_hb_unicode_funcs_t()

Error: COMPILER_WARNING (CWE-477): [#def68]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkaccessmanager.cpp: scope_hint: In member function ‘virtual QNetworkReply* QNetworkAccessManager::createRequest(Operation, const QNetworkRequest&, QIODevice*)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkaccessmanager.cpp:1397:43: warning[-Wdeprecated-declarations]: ‘QNetworkRequest::FollowRedirectsAttribute’ is deprecated: Use RedirectPolicyAttribute
# 1397 |         && req.attribute(QNetworkRequest::FollowRedirectsAttribute).isNull()) {
#      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtNetwork/qnetworkrequest.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkaccessmanager.h:44: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkaccessmanager.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkrequest.h:97:9: note: declared here
#   97 |         FollowRedirectsAttribute Q_DECL_ENUMERATOR_DEPRECATED_X("Use RedirectPolicyAttribute"),
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
# 1395|       if (redirectPolicy() != QNetworkRequest::ManualRedirectPolicy
# 1396|           && req.attribute(QNetworkRequest::RedirectPolicyAttribute).isNull()
# 1397|->         && req.attribute(QNetworkRequest::FollowRedirectsAttribute).isNull()) {
# 1398|           req.setAttribute(QNetworkRequest::RedirectPolicyAttribute, redirectPolicy());
# 1399|       }

Error: COMPILER_WARNING (CWE-477): [#def69]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkreplyhttpimpl.cpp: scope_hint: In member function ‘void QNetworkReplyHttpImplPrivate::postRequest(const QNetworkRequest&)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkreplyhttpimpl.cpp:700:56: warning[-Wdeprecated-declarations]: ‘QNetworkRequest::FollowRedirectsAttribute’ is deprecated: Use RedirectPolicyAttribute
#  700 |     else if (newHttpRequest.attribute(QNetworkRequest::FollowRedirectsAttribute).toBool())
#      |                                                        ^~~~~~~~~~~~~~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkreplyhttpimpl_p.h:55: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkreplyhttpimpl.cpp:42: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/access/qnetworkrequest.h:97:9: note: declared here
#   97 |         FollowRedirectsAttribute Q_DECL_ENUMERATOR_DEPRECATED_X("Use RedirectPolicyAttribute"),
#      |         ^~~~~~~~~~~~~~~~~~~~~~~~
#  698|       if (value.isValid())
#  699|           redirectPolicy = qvariant_cast<QNetworkRequest::RedirectPolicy>(value);
#  700|->     else if (newHttpRequest.attribute(QNetworkRequest::FollowRedirectsAttribute).toBool())
#  701|           redirectPolicy = QNetworkRequest::NoLessSafeRedirectPolicy;
#  702|   

Error: COMPILER_WARNING (CWE-477): [#def70]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/kernel/qnetworkproxy_libproxy.cpp: scope_hint: In static member function ‘static QList<QNetworkProxy> QNetworkProxyFactory::systemProxyForQuery(const QNetworkProxyQuery&)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/kernel/qnetworkproxy_libproxy.cpp:194:55: warning[-Wdeprecated-declarations]: ‘constexpr QFlags<T>::QFlags(Zero) [with Enum = QNetworkProxy::Capability; Zero = int QFlags<QNetworkProxy::Capability>::Private::*]’ is deprecated: Use default constructor instead
#  194 |     QNetworkProxy::Capabilities requiredCapabilities(0);
#      |                                                       ^
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qflags.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qglobal.h:1307: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/kernel/qtnetworkglobal.h:43: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtNetwork/qtnetworkglobal.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/kernel/qnetworkproxy.h:43: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/network/kernel/qnetworkproxy_libproxy.cpp:41: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/global/qflags.h:123:80: note: declared here
#  123 |     QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
#      |                                                                                ^~~~~~
#  192|   
#  193|       QUrl queryUrl;
#  194|->     QNetworkProxy::Capabilities requiredCapabilities(0);
#  195|       switch (query.queryType()) {
#  196|       //URL requests are directly supported by libproxy

Error: COMPILER_WARNING (CWE-457): [#def71]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/platformsupport/linuxaccessibility/constant_mappings_p.h:110:8: warning[-Wmaybe-uninitialized]: ‘<unnamed>.RoleNames::m_spiRole’ may be used uninitialized
#  110 | struct RoleNames {
#      |        ^~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qhash.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qshareddata.h:46: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qshareddata.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qsharedpointer.h:45: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtCore/qsharedpointer.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/platformsupport/linuxaccessibility/atspiadaptor_p.h:58: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/platformsupport/linuxaccessibility/atspiadaptor.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qhash.h: scope_hint: In member function ‘T& QHash<K, V>::operator[](const Key&) [with Key = QAccessible::Role; T = RoleNames]’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/corelib/tools/qhash.h:761:36: note: ‘<anonymous>’ declared here
#  761 |         return createNode(h, akey, T(), node)->value;
#      |                                    ^~~
#  108|   QT_BEGIN_NAMESPACE
#  109|   
#  110|-> struct RoleNames {
#  111|       RoleNames() {}
#  112|       RoleNames(AtspiRole r, const QString& n, const QString& ln)

Error: COMPILER_WARNING (CWE-563): [#def72]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/platformthemes/gtk3/qgtk3theme.cpp: scope_hint: In member function ‘virtual QIcon QGtk3Theme::fileIcon(const QFileInfo&, QPlatformTheme::IconOptions) const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/platformthemes/gtk3/qgtk3theme.cpp:267:56: warning[-Wunused-parameter]: unused parameter ‘iconOptions’
#  267 |                            QPlatformTheme::IconOptions iconOptions) const
#      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
#  265|   
#  266|   QIcon QGtk3Theme::fileIcon(const QFileInfo &fileInfo,
#  267|->                            QPlatformTheme::IconOptions iconOptions) const
#  268|   {
#  269|       Q_ASSERT(m_storage);

Error: COMPILER_WARNING (CWE-477): [#def73]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In constructor ‘QPpdPrintDevice::QPpdPrintDevice(const QString&)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:71:45: warning[-Wdeprecated-declarations]: ‘const char* cupsGetPPD(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   71 |             const char *ppdFile = cupsGetPPD(m_cupsName);
#      |                                   ~~~~~~~~~~^~~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprint_p.h:61: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/5.15.15/QtPrintSupport/private/qprint_p.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qplatformprintdevice.h:56: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtPrintSupport/5.15.15/QtPrintSupport/qpa/qplatformprintdevice.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.h:54: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:40: included_from: Included from here.
/usr/include/cups/ppd.h:359:26: note: declared here
#  359 | extern const char       *cupsGetPPD(const char *name) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                          ^~~~~~~~~~
#   69|           m_cupsDest = cupsGetNamedDest(CUPS_HTTP_DEFAULT, m_cupsName, m_cupsInstance.isNull() ? nullptr : m_cupsInstance.constData());
#   70|           if (m_cupsDest) {
#   71|->             const char *ppdFile = cupsGetPPD(m_cupsName);
#   72|               if (ppdFile) {
#   73|                   m_ppd = ppdOpenFile(ppdFile);

Error: COMPILER_WARNING (CWE-477): [#def74]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:73:36: warning[-Wdeprecated-declarations]: ‘ppd_file_t* ppdOpenFile(const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   73 |                 m_ppd = ppdOpenFile(ppdFile);
#      |                         ~~~~~~~~~~~^~~~~~~~~
/usr/include/cups/ppd.h:390:26: note: declared here
#  390 | extern ppd_file_t       *ppdOpenFile(const char *filename) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                          ^~~~~~~~~~~
#   71|               const char *ppdFile = cupsGetPPD(m_cupsName);
#   72|               if (ppdFile) {
#   73|->                 m_ppd = ppdOpenFile(ppdFile);
#   74|                   unlink(ppdFile);
#   75|               }

Error: COMPILER_WARNING (CWE-477): [#def75]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:77:32: warning[-Wdeprecated-declarations]: ‘void ppdMarkDefaults(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   77 |                 ppdMarkDefaults(m_ppd);
#      |                 ~~~~~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:385:25: note: declared here
#  385 | extern void             ppdMarkDefaults(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~~~~~
#   75|               }
#   76|               if (m_ppd) {
#   77|->                 ppdMarkDefaults(m_ppd);
#   78|                   cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|                   ppdLocalize(m_ppd);

Error: COMPILER_WARNING (CWE-477): [#def76]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:78:32: warning[-Wdeprecated-declarations]: ‘int cupsMarkOptions(ppd_file_t*, int, cups_option_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   78 |                 cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#      |                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:363:25: note: declared here
#  363 | extern int              cupsMarkOptions(ppd_file_t *ppd, int num_options, cups_option_t *options) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~~~~~
#   76|               if (m_ppd) {
#   77|                   ppdMarkDefaults(m_ppd);
#   78|->                 cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|                   ppdLocalize(m_ppd);
#   80|   

Error: COMPILER_WARNING (CWE-477): [#def77]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:79:28: warning[-Wdeprecated-declarations]: ‘int ppdLocalize(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#   79 |                 ppdLocalize(m_ppd);
#      |                 ~~~~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:435:25: note: declared here
#  435 | extern int              ppdLocalize(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~~~~
#   77|                   ppdMarkDefaults(m_ppd);
#   78|                   cupsMarkOptions(m_ppd, m_cupsDest->num_options, m_cupsDest->options);
#   79|->                 ppdLocalize(m_ppd);
#   80|   
#   81|                   m_minimumPhysicalPageSize = QSize(m_ppd->custom_min[0], m_ppd->custom_min[1]);

Error: COMPILER_WARNING (CWE-477): [#def78]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In destructor ‘virtual QPpdPrintDevice::~QPpdPrintDevice()’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:109:17: warning[-Wdeprecated-declarations]: ‘void ppdClose(ppd_file_t*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  109 |         ppdClose(m_ppd);
#      |         ~~~~~~~~^~~~~~~
/usr/include/cups/ppd.h:365:25: note: declared here
#  365 | extern void             ppdClose(ppd_file_t *ppd) _CUPS_DEPRECATED_1_6_MSG("Use cupsCopyDestInfo and friends instead.");
#      |                         ^~~~~~~~
#  107|   {
#  108|       if (m_ppd)
#  109|->         ppdClose(m_ppd);
#  110|       if (m_cupsDest)
#  111|           cupsFreeDests(1, m_cupsDest);

Error: COMPILER_WARNING (CWE-477): [#def79]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadPageSizes() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:149:44: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  149 |     ppd_option_t *pageSizes = ppdFindOption(m_ppd, "PageSize");
#      |                               ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  147|       m_printableMargins.clear();
#  148|   
#  149|->     ppd_option_t *pageSizes = ppdFindOption(m_ppd, "PageSize");
#  150|       if (pageSizes) {
#  151|           for (int i = 0; i < pageSizes->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def80]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:152:52: warning[-Wdeprecated-declarations]: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  152 |             const ppd_size_t *ppdSize = ppdPageSize(m_ppd, pageSizes->choices[i].choice);
#      |                                         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:393:26: note: declared here
#  393 | extern ppd_size_t       *ppdPageSize(ppd_file_t *ppd, const char *name)
#      |                          ^~~~~~~~~~~
#  150|       if (pageSizes) {
#  151|           for (int i = 0; i < pageSizes->num_choices; ++i) {
#  152|->             const ppd_size_t *ppdSize = ppdPageSize(m_ppd, pageSizes->choices[i].choice);
#  153|               if (ppdSize) {
#  154|                   // Returned size is in points

Error: COMPILER_WARNING (CWE-477): [#def81]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPageSize QPpdPrintDevice::defaultPageSize() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:174:54: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  174 |     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#      |                                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  172|   QPageSize QPpdPrintDevice::defaultPageSize() const
#  173|   {
#  174|->     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#  175|       if (defaultChoice) {
#  176|           ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def82]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:176:42: warning[-Wdeprecated-declarations]: ‘ppd_size_t* ppdPageSize(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  176 |         ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);
#      |                               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:393:26: note: declared here
#  393 | extern ppd_size_t       *ppdPageSize(ppd_file_t *ppd, const char *name)
#      |                          ^~~~~~~~~~~
#  174|       ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "PageSize");
#  175|       if (defaultChoice) {
#  176|->         ppd_size_t *ppdSize = ppdPageSize(m_ppd, defaultChoice->choice);
#  177|           if (ppdSize) {
#  178|               // Returned size is in points

Error: COMPILER_WARNING (CWE-477): [#def83]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadResolutions() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:207:46: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  207 |     ppd_option_t *resolutions = ppdFindOption(m_ppd, "Resolution");
#      |                                 ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  205|   
#  206|       // Try load standard PPD options first
#  207|->     ppd_option_t *resolutions = ppdFindOption(m_ppd, "Resolution");
#  208|       if (resolutions) {
#  209|           for (int i = 0; i < resolutions->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def84]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:217:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  217 |         resolutions = ppdFindOption(m_ppd, "DefaultResolution");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  215|       // If no result, try just the default
#  216|       if (m_resolutions.size() == 0) {
#  217|->         resolutions = ppdFindOption(m_ppd, "DefaultResolution");
#  218|           if (resolutions) {
#  219|               int res = QPrintUtils::parsePpdResolution(resolutions->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def85]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:226:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  226 |         resolutions = ppdFindOption(m_ppd, "HPPrintQuality");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  224|       // If still no result, then try HP's custom options
#  225|       if (m_resolutions.size() == 0) {
#  226|->         resolutions = ppdFindOption(m_ppd, "HPPrintQuality");
#  227|           if (resolutions) {
#  228|               for (int i = 0; i < resolutions->num_choices; ++i) {

Error: COMPILER_WARNING (CWE-477): [#def86]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:236:36: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  236 |         resolutions = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#      |                       ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  234|       }
#  235|       if (m_resolutions.size() == 0) {
#  236|->         resolutions = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#  237|           if (resolutions) {
#  238|               int res = QPrintUtils::parsePpdResolution(resolutions->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def87]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual int QPpdPrintDevice::defaultResolution() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:249:45: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  249 |     ppd_option_t *resolution = ppdFindOption(m_ppd, "DefaultResolution");
#      |                                ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  247|   {
#  248|       // Try load standard PPD option first
#  249|->     ppd_option_t *resolution = ppdFindOption(m_ppd, "DefaultResolution");
#  250|       if (resolution) {
#  251|           int res = QPrintUtils::parsePpdResolution(resolution->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def88]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:256:54: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  256 |     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Resolution");
#      |                                   ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  254|       }
#  255|       // If no result, then try a marked option
#  256|->     ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Resolution");
#  257|       if (defaultChoice) {
#  258|           int res = QPrintUtils::parsePpdResolution(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def89]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:263:31: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  263 |     resolution = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#      |                  ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  261|       }
#  262|       // If still no result, then try HP's custom options
#  263|->     resolution = ppdFindOption(m_ppd, "DefaultHPPrintQuality");
#  264|       if (resolution) {
#  265|           int res = QPrintUtils::parsePpdResolution(resolution->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def90]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:269:40: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  269 |     defaultChoice = ppdFindMarkedChoice(m_ppd, "HPPrintQuality");
#      |                     ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  267|               return res;
#  268|       }
#  269|->     defaultChoice = ppdFindMarkedChoice(m_ppd, "HPPrintQuality");
#  270|       if (defaultChoice) {
#  271|           int res = QPrintUtils::parsePpdResolution(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def91]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadInputSlots() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:289:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  289 |         ppd_option_t *inputSlots = ppdFindOption(m_ppd, "InputSlot");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  287|       m_inputSlots.clear();
#  288|       if (m_ppd) {
#  289|->         ppd_option_t *inputSlots = ppdFindOption(m_ppd, "InputSlot");
#  290|           if (inputSlots) {
#  291|               m_inputSlots.reserve(inputSlots->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def92]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:297:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  297 |             inputSlots = ppdFindOption(m_ppd, "DefaultInputSlot");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  295|           // If no result, try just the default
#  296|           if (m_inputSlots.size() == 0) {
#  297|->             inputSlots = ppdFindOption(m_ppd, "DefaultInputSlot");
#  298|               if (inputSlots)
#  299|                   m_inputSlots.append(QPrintUtils::ppdChoiceToInputSlot(inputSlots->choices[0]));

Error: COMPILER_WARNING (CWE-477): [#def93]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::InputSlot QPpdPrintDevice::defaultInputSlot() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:313:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  313 |         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultInputSlot");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  311|       // Try load standard PPD option first
#  312|       if (m_ppd) {
#  313|->         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultInputSlot");
#  314|           if (inputSlot)
#  315|               return QPrintUtils::ppdChoiceToInputSlot(inputSlot->choices[0]);

Error: COMPILER_WARNING (CWE-477): [#def94]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:317:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  317 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "InputSlot");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  315|               return QPrintUtils::ppdChoiceToInputSlot(inputSlot->choices[0]);
#  316|           // If no result, then try a marked option
#  317|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "InputSlot");
#  318|           if (defaultChoice)
#  319|               return QPrintUtils::ppdChoiceToInputSlot(*defaultChoice);

Error: COMPILER_WARNING (CWE-477): [#def95]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadOutputBins() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:330:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  330 |         ppd_option_t *outputBins = ppdFindOption(m_ppd, "OutputBin");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  328|       m_outputBins.clear();
#  329|       if (m_ppd) {
#  330|->         ppd_option_t *outputBins = ppdFindOption(m_ppd, "OutputBin");
#  331|           if (outputBins) {
#  332|               m_outputBins.reserve(outputBins->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def96]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:338:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  338 |             outputBins = ppdFindOption(m_ppd, "DefaultOutputBin");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  336|           // If no result, try just the default
#  337|           if (m_outputBins.size() == 0) {
#  338|->             outputBins = ppdFindOption(m_ppd, "DefaultOutputBin");
#  339|               if (outputBins)
#  340|                   m_outputBins.append(QPrintUtils::ppdChoiceToOutputBin(outputBins->choices[0]));

Error: COMPILER_WARNING (CWE-477): [#def97]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::OutputBin QPpdPrintDevice::defaultOutputBin() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:354:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  354 |         ppd_option_t *outputBin = ppdFindOption(m_ppd, "DefaultOutputBin");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  352|       // Try load standard PPD option first
#  353|       if (m_ppd) {
#  354|->         ppd_option_t *outputBin = ppdFindOption(m_ppd, "DefaultOutputBin");
#  355|           if (outputBin)
#  356|               return QPrintUtils::ppdChoiceToOutputBin(outputBin->choices[0]);

Error: COMPILER_WARNING (CWE-477): [#def98]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:358:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  358 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "OutputBin");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  356|               return QPrintUtils::ppdChoiceToOutputBin(outputBin->choices[0]);
#  357|           // If no result, then try a marked option
#  358|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "OutputBin");
#  359|           if (defaultChoice)
#  360|               return QPrintUtils::ppdChoiceToOutputBin(*defaultChoice);

Error: COMPILER_WARNING (CWE-477): [#def99]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual void QPpdPrintDevice::loadDuplexModes() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:372:50: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  372 |         ppd_option_t *duplexModes = ppdFindOption(m_ppd, "Duplex");
#      |                                     ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  370|       m_duplexModes.clear();
#  371|       if (m_ppd) {
#  372|->         ppd_option_t *duplexModes = ppdFindOption(m_ppd, "Duplex");
#  373|           if (duplexModes) {
#  374|               m_duplexModes.reserve(duplexModes->num_choices);

Error: COMPILER_WARNING (CWE-477): [#def100]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:376:43: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  376 |                 if (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[i].choice) == 0) {
#      |                     ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  374|               m_duplexModes.reserve(duplexModes->num_choices);
#  375|               for (int i = 0; i < duplexModes->num_choices; ++i) {
#  376|->                 if (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[i].choice) == 0) {
#  377|                       m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[i].choice));
#  378|                   }

Error: COMPILER_WARNING (CWE-477): [#def101]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:383:40: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  383 |             duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#      |                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  381|           // If no result, try just the default
#  382|           if (m_duplexModes.size() == 0) {
#  383|->             duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#  384|               if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#  385|                   m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[0].choice));

Error: COMPILER_WARNING (CWE-477): [#def102]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:384:55: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  384 |             if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#      |                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  382|           if (m_duplexModes.size() == 0) {
#  383|               duplexModes = ppdFindOption(m_ppd, "DefaultDuplex");
#  384|->             if (duplexModes && (ppdInstallableConflict(m_ppd, duplexModes->keyword, duplexModes->choices[0].choice) == 0)) {
#  385|                   m_duplexModes.append(QPrintUtils::ppdChoiceToDuplexMode(duplexModes->choices[0].choice));
#  386|               }

Error: COMPILER_WARNING (CWE-477): [#def103]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::DuplexMode QPpdPrintDevice::defaultDuplexMode() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:402:48: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  402 |         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultDuplex");
#      |                                   ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  400|       // Try load standard PPD option first
#  401|       if (m_ppd) {
#  402|->         ppd_option_t *inputSlot = ppdFindOption(m_ppd, "DefaultDuplex");
#  403|           if (inputSlot)
#  404|               return QPrintUtils::ppdChoiceToDuplexMode(inputSlot->choices[0].choice);

Error: COMPILER_WARNING (CWE-477): [#def104]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:406:58: warning[-Wdeprecated-declarations]: ‘ppd_choice_t* ppdFindMarkedChoice(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  406 |         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Duplex");
#      |                                       ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:378:26: note: declared here
#  378 | extern ppd_choice_t     *ppdFindMarkedChoice(ppd_file_t *ppd,
#      |                          ^~~~~~~~~~~~~~~~~~~
#  404|               return QPrintUtils::ppdChoiceToDuplexMode(inputSlot->choices[0].choice);
#  405|           // If no result, then try a marked option
#  406|->         ppd_choice_t *defaultChoice = ppdFindMarkedChoice(m_ppd, "Duplex");
#  407|           if (defaultChoice)
#  408|               return QPrintUtils::ppdChoiceToDuplexMode(defaultChoice->choice);

Error: COMPILER_WARNING (CWE-477): [#def105]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual QPrint::ColorMode QPpdPrintDevice::defaultColorMode() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:434:49: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  434 |         ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#      |                                    ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  432|       // users known to abuse ColorModel to always force GrayScale.
#  433|       if (m_ppd && supportedColorModes().contains(QPrint::Color)) {
#  434|->         ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#  435|           if (!colorModel)
#  436|               colorModel = ppdFindOption(m_ppd, "ColorModel");

Error: COMPILER_WARNING (CWE-477): [#def106]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:436:39: warning[-Wdeprecated-declarations]: ‘ppd_option_t* ppdFindOption(ppd_file_t*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  436 |             colorModel = ppdFindOption(m_ppd, "ColorModel");
#      |                          ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:381:26: note: declared here
#  381 | extern ppd_option_t     *ppdFindOption(ppd_file_t *ppd, const char *keyword)
#      |                          ^~~~~~~~~~~~~
#  434|           ppd_option_t *colorModel = ppdFindOption(m_ppd, "DefaultColorModel");
#  435|           if (!colorModel)
#  436|->             colorModel = ppdFindOption(m_ppd, "ColorModel");
#  437|           if (!colorModel || qstrcmp(colorModel->defchoice, "Gray") != 0)
#  438|               return QPrint::Color;

Error: COMPILER_WARNING (CWE-477): [#def107]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual bool QPpdPrintDevice::setProperty(QPrintDevice::PrintDevicePropertyKey, const QVariant&)’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:464:26: warning[-Wdeprecated-declarations]: ‘int ppdMarkOption(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  464 |             ppdMarkOption(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#      |             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:386:25: note: declared here
#  386 | extern int              ppdMarkOption(ppd_file_t *ppd, const char *keyword,
#      |                         ^~~~~~~~~~~~~
#  462|           const QStringList values = value.toStringList();
#  463|           if (values.count() == 2) {
#  464|->             ppdMarkOption(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#  465|               return true;
#  466|           }

Error: COMPILER_WARNING (CWE-477): [#def108]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp: scope_hint: In member function ‘virtual bool QPpdPrintDevice::isFeatureAvailable(QPrintDevice::PrintDevicePropertyKey, const QVariant&) const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/plugins/printsupport/cups/qppdprintdevice.cpp:477:42: warning[-Wdeprecated-declarations]: ‘int ppdInstallableConflict(ppd_file_t*, const char*, const char*)’ is deprecated: Use cupsCopyDestInfo and friends instead.
#  477 |             return ppdInstallableConflict(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#      |                    ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/cups/ppd.h:456:25: note: declared here
#  456 | extern int              ppdInstallableConflict(ppd_file_t *ppd,
#      |                         ^~~~~~~~~~~~~~~~~~~~~~
#  475|           const QStringList values = params.toStringList();
#  476|           if (values.count() == 2)
#  477|->             return ppdInstallableConflict(m_ppd, values[0].toLatin1(), values[1].toLatin1());
#  478|       }
#  479|   

Error: COMPILER_WARNING (CWE-477): [#def109]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.cpp: scope_hint: In member function ‘QPrinter::PaperSize QPrinter::paperSize() const’
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.cpp:1077:20: warning[-Wdeprecated-declarations]: ‘QPagedPaintDevice::PageSize QPrinter::pageSize() const’ is deprecated: Use pageLayout().pageSize().id() instead.
# 1077 |     return pageSize();
#      |            ~~~~~~~~^~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.cpp:40: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/printsupport/kernel/qprinter.h:179:14: note: declared here
#  179 |     PageSize pageSize() const;
#      |              ^~~~~~~~
# 1075|   QPrinter::PaperSize QPrinter::paperSize() const
# 1076|   {
# 1077|->     return pageSize();
# 1078|   }
# 1079|   

Error: COMPILER_WARNING: [#def110]
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/qstyleditemdelegate.h:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/include/QtWidgets/QStyledItemDelegate:1: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/tools/settingseditor/variantdelegate.h:54: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/tools/settingseditor/settingstree.cpp:52: included_from: Included from here.
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/src/widgets/itemviews/qstyleditemdelegate.h:88:21: warning[-Woverloaded-virtual=]: ‘virtual QString QStyledItemDelegate::displayText(const QVariant&, const QLocale&) const’ was hidden
#   88 |     virtual QString displayText(const QVariant &value, const QLocale &locale) const;
#      |                     ^~~~~~~~~~~
qt5-qtbase-5.15.15-build/qtbase-everywhere-src-5.15.15/examples/widgets/tools/settingseditor/variantdelegate.h:94:20: note:   by ‘static QString VariantDelegate::displayText(const QVariant&)’
#   94 |     static QString displayText(const QVariant &value);
#      |                    ^~~~~~~~~~~
#   86|       void setItemEditorFactory(QItemEditorFactory *factory);
#   87|   
#   88|->     virtual QString displayText(const QVariant &value, const QLocale &locale) const;
#   89|   
#   90|   protected:

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-60.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameqt5-qtbase-5.15.15-1.fc42
store-results-to/tmp/tmp3vzy68l7/qt5-qtbase-5.15.15-1.fc42.tar.xz
time-created2024-11-13 03:19:54
time-finished2024-11-13 03:45:09
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp3vzy68l7/qt5-qtbase-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/tmp3vzy68l7/qt5-qtbase-5.15.15-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9