Task #641 - kf6-kcoreaddons-6.3.0-1.fc41/scan-results.err
back to task #641download
Error: COMPILER_WARNING (CWE-477): kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp: scope_hint: In function ‘QStringList KStringHandler::perlSplit(const QRegularExpression&, const QString&, int)’ kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp:132:65: warning[-Wdeprecated-declarations]: ‘QRegularExpressionMatchIterator QRegularExpression::globalMatch(QStringView, qsizetype, MatchType, MatchOptions) const’ is deprecated: Use globalMatchView instead. # 132 | QRegularExpressionMatchIterator iter = separator.globalMatch(strView); # | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/include/qt6/QtCore/QRegularExpression:1: included_from: Included from here. kf6-kcoreaddons-6.3.0-build/kcoreaddons-6.3.0/src/lib/text/kstringhandler.cpp:16: included_from: Included from here. /usr/include/qt6/QtCore/qregularexpression.h:118:37: note: declared here # 118 | QRegularExpressionMatchIterator globalMatch(QStringView subjectView, # | ^~~~~~~~~~~ # 130| separator.setPatternOptions(QRegularExpression::UseUnicodePropertiesOption); # 131| # 132|-> QRegularExpressionMatchIterator iter = separator.globalMatch(strView); # 133| QRegularExpressionMatch match; # 134| while (iter.hasNext() && (ignoreMax || list.count() < max - 1)) {