kdsoap-ws-discovery-client-0.4.0-1.fc41

List of Defects

Error: COMPILER_WARNING (CWE-477): [#def1]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ByeType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:193:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  193 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:57: included_from: Included from here.
/usr/include/qt6/QtCore/QtGlobal:1: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDSoapGlobal.h:13: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDSoapValue.h:13: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.h:8: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:7: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  191|   {
#  192|       const KDSoapValueList& args = mainValue.childValues();
#  193|->     for (const KDSoapValue& val : qAsConst(args)) {
#  194|           const QString _name = val.name();
#  195|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def2]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:220:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  220 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  218|       }
#  219|       const QList<KDSoapValue> attribs = args.attributes();
#  220|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  221|           const QString _name = val.name();
#  222|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def3]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__HelloType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:427:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  427 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  425|   {
#  426|       const KDSoapValueList& args = mainValue.childValues();
#  427|->     for (const KDSoapValue& val : qAsConst(args)) {
#  428|           const QString _name = val.name();
#  429|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def4]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:453:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  453 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  451|       }
#  452|       const QList<KDSoapValue> attribs = args.attributes();
#  453|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  454|           const QString _name = val.name();
#  455|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def5]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ProbeMatchType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:660:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  660 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  658|   {
#  659|       const KDSoapValueList& args = mainValue.childValues();
#  660|->     for (const KDSoapValue& val : qAsConst(args)) {
#  661|           const QString _name = val.name();
#  662|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def6]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:686:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  686 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  684|       }
#  685|       const QList<KDSoapValue> attribs = args.attributes();
#  686|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  687|           const QString _name = val.name();
#  688|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def7]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ProbeMatchesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:815:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  815 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  813|   {
#  814|       const KDSoapValueList& args = mainValue.childValues();
#  815|->     for (const KDSoapValue& val : qAsConst(args)) {
#  816|           const QString _name = val.name();
#  817|           if (_name == QLatin1String("ProbeMatch")) {

Error: COMPILER_WARNING (CWE-477): [#def8]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:829:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  829 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  827|       }
#  828|       const QList<KDSoapValue> attribs = args.attributes();
#  829|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  830|           const QString _name = val.name();
#  831|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def9]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ProbeType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:982:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  982 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  980|   {
#  981|       const KDSoapValueList& args = mainValue.childValues();
#  982|->     for (const KDSoapValue& val : qAsConst(args)) {
#  983|           const QString _name = val.name();
#  984|           if (_name == QLatin1String("Types")) {

Error: COMPILER_WARNING (CWE-477): [#def10]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:998:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  998 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  996|       }
#  997|       const QList<KDSoapValue> attribs = args.attributes();
#  998|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  999|           const QString _name = val.name();
# 1000|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def11]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ResolveMatchType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1240:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1240 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1238|   {
# 1239|       const KDSoapValueList& args = mainValue.childValues();
# 1240|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1241|           const QString _name = val.name();
# 1242|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def12]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1265:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1265 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1263|       }
# 1264|       const QList<KDSoapValue> attribs = args.attributes();
# 1265|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1266|           const QString _name = val.name();
# 1267|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def13]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ResolveMatchesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1394:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1394 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1392|   {
# 1393|       const KDSoapValueList& args = mainValue.childValues();
# 1394|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1395|           const QString _name = val.name();
# 1396|           if (_name == QLatin1String("ResolveMatch")) {

Error: COMPILER_WARNING (CWE-477): [#def14]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1406:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1406 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1404|       }
# 1405|       const QList<KDSoapValue> attribs = args.attributes();
# 1406|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1407|           const QString _name = val.name();
# 1408|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def15]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ResolveType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1526:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1526 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1524|   {
# 1525|       const KDSoapValueList& args = mainValue.childValues();
# 1526|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1527|           const QString _name = val.name();
# 1528|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def16]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1537:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1537 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1535|       }
# 1536|       const QList<KDSoapValue> attribs = args.attributes();
# 1537|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1538|           const QString _name = val.name();
# 1539|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def17]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::TNS__ScopesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:1645:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1645 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1643|       Q_UNUSED(mainValue);
# 1644|       const QList<KDSoapValue> attribs = args.attributes();
# 1645|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1646|           const QString _name = val.name();
# 1647|           if (_name == QLatin1String("MatchBy")) {

Error: COMPILER_WARNING (CWE-477): [#def18]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::WSA__EndpointReferenceType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:2031:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 2031 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2029|   {
# 2030|       const KDSoapValueList& args = mainValue.childValues();
# 2031|->     for (const KDSoapValue& val : qAsConst(args)) {
# 2032|           const QString _name = val.name();
# 2033|           if (_name == QLatin1String("Address")) {

Error: COMPILER_WARNING (CWE-477): [#def19]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:2058:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 2058 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2056|       }
# 2057|       const QList<KDSoapValue> attribs = args.attributes();
# 2058|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 2059|           const QString _name = val.name();
# 2060|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def20]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::WSA__ReferenceParametersType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:2139:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 2139 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2137|   {
# 2138|       const KDSoapValueList& args = mainValue.childValues();
# 2139|->     for (const KDSoapValue& val : qAsConst(args)) {
# 2140|           const QString _name = val.name();
# 2141|           {

Error: COMPILER_WARNING (CWE-477): [#def21]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::WSA__ReferencePropertiesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:2220:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 2220 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2218|   {
# 2219|       const KDSoapValueList& args = mainValue.childValues();
# 2220|->     for (const KDSoapValue& val : qAsConst(args)) {
# 2221|           const QString _name = val.name();
# 2222|           {

Error: COMPILER_WARNING (CWE-477): [#def22]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp: scope_hint: In member function ‘void WSDiscovery200504::WSA__ServiceNameType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_ws-discovery.cpp:2327:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 2327 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2325|       Q_UNUSED(mainValue);
# 2326|       const QList<KDSoapValue> attribs = args.attributes();
# 2327|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 2328|           const QString _name = val.name();
# 2329|           if (_name == QLatin1String("PortName")) {

Error: COMPILER_WARNING (CWE-477): [#def23]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ByeType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:193:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  193 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:57: included_from: Included from here.
/usr/include/qt6/QtCore/QtGlobal:1: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDSoapGlobal.h:13: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDSoapValue.h:13: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.h:8: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:7: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  191|   {
#  192|       const KDSoapValueList& args = mainValue.childValues();
#  193|->     for (const KDSoapValue& val : qAsConst(args)) {
#  194|           const QString _name = val.name();
#  195|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def24]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:220:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  220 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  218|       }
#  219|       const QList<KDSoapValue> attribs = args.attributes();
#  220|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  221|           const QString _name = val.name();
#  222|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def25]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__HelloType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:427:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  427 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  425|   {
#  426|       const KDSoapValueList& args = mainValue.childValues();
#  427|->     for (const KDSoapValue& val : qAsConst(args)) {
#  428|           const QString _name = val.name();
#  429|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def26]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:453:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  453 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  451|       }
#  452|       const QList<KDSoapValue> attribs = args.attributes();
#  453|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  454|           const QString _name = val.name();
#  455|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def27]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ProbeMatchType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:660:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  660 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  658|   {
#  659|       const KDSoapValueList& args = mainValue.childValues();
#  660|->     for (const KDSoapValue& val : qAsConst(args)) {
#  661|           const QString _name = val.name();
#  662|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def28]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:686:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  686 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  684|       }
#  685|       const QList<KDSoapValue> attribs = args.attributes();
#  686|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  687|           const QString _name = val.name();
#  688|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def29]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ProbeMatchesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:815:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  815 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  813|   {
#  814|       const KDSoapValueList& args = mainValue.childValues();
#  815|->     for (const KDSoapValue& val : qAsConst(args)) {
#  816|           const QString _name = val.name();
#  817|           if (_name == QLatin1String("ProbeMatch")) {

Error: COMPILER_WARNING (CWE-477): [#def30]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:829:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  829 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  827|       }
#  828|       const QList<KDSoapValue> attribs = args.attributes();
#  829|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  830|           const QString _name = val.name();
#  831|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def31]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ProbeType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:982:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
#  982 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  980|   {
#  981|       const KDSoapValueList& args = mainValue.childValues();
#  982|->     for (const KDSoapValue& val : qAsConst(args)) {
#  983|           const QString _name = val.name();
#  984|           if (_name == QLatin1String("Types")) {

Error: COMPILER_WARNING (CWE-477): [#def32]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:998:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
#  998 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#  996|       }
#  997|       const QList<KDSoapValue> attribs = args.attributes();
#  998|->     for (const KDSoapValue& val : qAsConst(attribs)) {
#  999|           const QString _name = val.name();
# 1000|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def33]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ResolveMatchType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1249:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1249 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1247|   {
# 1248|       const KDSoapValueList& args = mainValue.childValues();
# 1249|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1250|           const QString _name = val.name();
# 1251|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def34]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1275:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1275 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1273|       }
# 1274|       const QList<KDSoapValue> attribs = args.attributes();
# 1275|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1276|           const QString _name = val.name();
# 1277|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def35]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ResolveMatchesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1404:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1404 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1402|   {
# 1403|       const KDSoapValueList& args = mainValue.childValues();
# 1404|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1405|           const QString _name = val.name();
# 1406|           if (_name == QLatin1String("ResolveMatch")) {

Error: COMPILER_WARNING (CWE-477): [#def36]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1416:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1416 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1414|       }
# 1415|       const QList<KDSoapValue> attribs = args.attributes();
# 1416|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1417|           const QString _name = val.name();
# 1418|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def37]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ResolveType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1536:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1536 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1534|   {
# 1535|       const KDSoapValueList& args = mainValue.childValues();
# 1536|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1537|           const QString _name = val.name();
# 1538|           if (_name == QLatin1String("EndpointReference")) {

Error: COMPILER_WARNING (CWE-477): [#def38]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1547:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1547 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1545|       }
# 1546|       const QList<KDSoapValue> attribs = args.attributes();
# 1547|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1548|           const QString _name = val.name();
# 1549|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def39]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::TNS__ScopesType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1655:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1655 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1653|       Q_UNUSED(mainValue);
# 1654|       const QList<KDSoapValue> attribs = args.attributes();
# 1655|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1656|           const QString _name = val.name();
# 1657|           if (_name == QLatin1String("MatchBy")) {

Error: COMPILER_WARNING (CWE-477): [#def40]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::WSA__EndpointReferenceType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1929:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 1929 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1927|   {
# 1928|       const KDSoapValueList& args = mainValue.childValues();
# 1929|->     for (const KDSoapValue& val : qAsConst(args)) {
# 1930|           const QString _name = val.name();
# 1931|           if (_name == QLatin1String("Address")) {

Error: COMPILER_WARNING (CWE-477): [#def41]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:1948:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 1948 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 1946|       }
# 1947|       const QList<KDSoapValue> attribs = args.attributes();
# 1948|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 1949|           const QString _name = val.name();
# 1950|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def42]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::WSA__MetadataType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:2052:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 2052 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2050|   {
# 2051|       const KDSoapValueList& args = mainValue.childValues();
# 2052|->     for (const KDSoapValue& val : qAsConst(args)) {
# 2053|           const QString _name = val.name();
# 2054|           {

Error: COMPILER_WARNING (CWE-477): [#def43]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:2060:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 2060 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2058|       }
# 2059|       const QList<KDSoapValue> attribs = args.attributes();
# 2060|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 2061|           const QString _name = val.name();
# 2062|           if (_name == QLatin1String("anyAttribute")) {

Error: COMPILER_WARNING (CWE-477): [#def44]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp: scope_hint: In member function ‘void WSDiscovery200901::WSA__ReferenceParametersType::deserialize(const KDSoapValue&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:2164:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const KDSoapValueList; typename std::add_const<_Tp>::type = const KDSoapValueList]’ is deprecated: Use std::as_const() instead.
# 2164 |     for (const KDSoapValue& val : qAsConst(args)) {
#      |                                   ~~~~~~~~^~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2162|   {
# 2163|       const KDSoapValueList& args = mainValue.childValues();
# 2164|->     for (const KDSoapValue& val : qAsConst(args)) {
# 2165|           const QString _name = val.name();
# 2166|           {

Error: COMPILER_WARNING (CWE-477): [#def45]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/redhat-linux-build/src/wsdl_wsdd-discovery-1.cpp:2172:43: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = const QList<KDSoapValue>; typename std::add_const<_Tp>::type = const QList<KDSoapValue>]’ is deprecated: Use std::as_const() instead.
# 2172 |     for (const KDSoapValue& val : qAsConst(attribs)) {
#      |                                   ~~~~~~~~^~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
# 2170|       }
# 2171|       const QList<KDSoapValue> attribs = args.attributes();
# 2172|->     for (const KDSoapValue& val : qAsConst(attribs)) {
# 2173|           const QString _name = val.name();
# 2174|           if (_name == QLatin1String("anyAttribute")) {

Error: CLANG_WARNING: [#def46]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:46:10: warning[deadcode.DeadStores]: Value stored to 'rc' during its initialization is never read
#   44|   void WSDiscoveryClient::start(quint16 port)
#   45|   {
#   46|->     bool rc = m_soapUdpClient->bind(port, QAbstractSocket::DefaultForPlatform);
#   47|       Q_ASSERT(rc);
#   48|   }

Error: CLANG_WARNING: [#def47]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:83:10: warning[deadcode.DeadStores]: Value stored to 'rc' during its initialization is never read
#   81|       message.setMessageAddressingProperties(addressing);
#   82|   
#   83|->     auto rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV4, DISCOVERY_PORT);
#   84|       Q_ASSERT(rc);
#   85|       rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV6, DISCOVERY_PORT);

Error: CLANG_WARNING: [#def48]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:85:5: warning[deadcode.DeadStores]: Value stored to 'rc' is never read
#   83|       auto rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV4, DISCOVERY_PORT);
#   84|       Q_ASSERT(rc);
#   85|->     rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV6, DISCOVERY_PORT);
#   86|       Q_ASSERT(rc);
#   87|   }

Error: CLANG_WARNING: [#def49]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:116:10: warning[deadcode.DeadStores]: Value stored to 'rc' during its initialization is never read
#  114|       message.setMessageAddressingProperties(addressing);
#  115|   
#  116|->     auto rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV4, DISCOVERY_PORT);
#  117|       Q_ASSERT(rc);
#  118|       rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV6, DISCOVERY_PORT);

Error: CLANG_WARNING: [#def50]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryclient.cpp:118:5: warning[deadcode.DeadStores]: Value stored to 'rc' is never read
#  116|       auto rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV4, DISCOVERY_PORT);
#  117|       Q_ASSERT(rc);
#  118|->     rc = m_soapUdpClient->sendMessage(message, KDSoapHeaders(), DISCOVERY_ADDRESS_IPV6, DISCOVERY_PORT);
#  119|       Q_ASSERT(rc);
#  120|   }

Error: COMPILER_WARNING (CWE-477): [#def51]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.cpp: scope_hint: In member function ‘void WSDiscoveryProbeJob::probeMatchReceived(const WSDiscoveryTargetService&)’
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.cpp:82:40: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<KDQName>; typename std::add_const<_Tp>::type = const QList<KDQName>]’ is deprecated: Use std::as_const() instead.
#   82 |     for (const KDQName &type : qAsConst(m_typeList)) {
#      |                                ~~~~~~~~^~~~~~~~~~~~
/usr/include/qt6/QtCore/qforeach.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qglobal.h:57: included_from: Included from here.
/usr/include/qt6/QtCore/qalgorithms.h:11: included_from: Included from here.
/usr/include/qt6/QtCore/qhash.h:8: included_from: Included from here.
/usr/include/qt6/QtCore/QHash:1: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDQName.h:13: included_from: Included from here.
/usr/include/KDSoapClient-Qt6/KDSoapClient/KDQName:1: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.h:9: included_from: Included from here.
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.cpp:5: included_from: Included from here.
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#   80|   {
#   81|       bool isMatch = true;
#   82|->     for (const KDQName &type : qAsConst(m_typeList)) {
#   83|           isMatch = probeMatchService.isMatchingType(type) && isMatch;
#   84|       }

Error: COMPILER_WARNING (CWE-477): [#def52]
kdsoap-ws-discovery-client-0.4.0-build/kdsoap-ws-discovery-client-0.4.0/src/wsdiscoveryprobejob.cpp:85:38: warning[-Wdeprecated-declarations]: ‘constexpr typename std::add_const<_Tp>::type& qAsConst(T&) [with T = QList<QUrl>; typename std::add_const<_Tp>::type = const QList<QUrl>]’ is deprecated: Use std::as_const() instead.
#   85 |     for (const QUrl &scope : qAsConst(m_scopeList)) {
#      |                              ~~~~~~~~^~~~~~~~~~~~~
/usr/include/qt6/QtCore/qttypetraits.h:33:45: note: declared here
#   33 | constexpr typename std::add_const<T>::type &qAsConst(T &t) noexcept { return t; }
#      |                                             ^~~~~~~~
#   83|           isMatch = probeMatchService.isMatchingType(type) && isMatch;
#   84|       }
#   85|->     for (const QUrl &scope : qAsConst(m_scopeList)) {
#   86|           isMatch = probeMatchService.isMatchingScope(scope) && isMatch;
#   87|       }

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-22.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namekdsoap-ws-discovery-client-0.4.0-1.fc41
store-results-to/tmp/tmp6u9wh575/kdsoap-ws-discovery-client-0.4.0-1.fc41.tar.xz
time-created2024-07-03 13:34:02
time-finished2024-07-03 13:35:37
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp6u9wh575/kdsoap-ws-discovery-client-0.4.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp6u9wh575/kdsoap-ws-discovery-client-0.4.0-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9