Error: COMPILER_WARNING (CWE-477): [#def1] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp: scope_hint: In function ‘QDebug operator<<(QDebug, const LinkInfo&)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:44:40: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 44 | arg << "name = " << info.m_name << endl; # | ^~~~ /usr/include/qt5/QtCore/qdebug.h:49: included_from: Included from here. /usr/include/qt5/QtCore/QDebug:1: included_from: Included from here. deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:7: included_from: Included from here. /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 42| QDebug operator<<(QDebug arg, const LinkInfo &info) # 43| { # 44|-> arg << "name = " << info.m_name << endl; # 45| arg << "friendlyName = " << info.m_friendlyName << endl; # 46| arg << "macAddr = " << info.m_macAddr << endl; Error: COMPILER_WARNING (CWE-477): [#def2] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:45:56: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 45 | arg << "friendlyName = " << info.m_friendlyName << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 43| { # 44| arg << "name = " << info.m_name << endl; # 45|-> arg << "friendlyName = " << info.m_friendlyName << endl; # 46| arg << "macAddr = " << info.m_macAddr << endl; # 47| arg << "managed = " << info.m_managed << endl; Error: COMPILER_WARNING (CWE-477): [#def3] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:46:46: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 46 | arg << "macAddr = " << info.m_macAddr << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 44| arg << "name = " << info.m_name << endl; # 45| arg << "friendlyName = " << info.m_friendlyName << endl; # 46|-> arg << "macAddr = " << info.m_macAddr << endl; # 47| arg << "managed = " << info.m_managed << endl; # 48| arg << "scanning = " << info.m_p2pScanning << endl; Error: COMPILER_WARNING (CWE-477): [#def4] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:47:46: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 47 | arg << "managed = " << info.m_managed << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 45| arg << "friendlyName = " << info.m_friendlyName << endl; # 46| arg << "macAddr = " << info.m_macAddr << endl; # 47|-> arg << "managed = " << info.m_managed << endl; # 48| arg << "scanning = " << info.m_p2pScanning << endl; # 49| arg << "path = " << info.m_dbusPath.path() << endl; Error: COMPILER_WARNING (CWE-477): [#def5] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:48:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 48 | arg << "scanning = " << info.m_p2pScanning << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 46| arg << "macAddr = " << info.m_macAddr << endl; # 47| arg << "managed = " << info.m_managed << endl; # 48|-> arg << "scanning = " << info.m_p2pScanning << endl; # 49| arg << "path = " << info.m_dbusPath.path() << endl; # 50| Error: COMPILER_WARNING (CWE-477): [#def6] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/linkinfolist.cpp:49:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 49 | arg << "path = " << info.m_dbusPath.path() << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 47| arg << "managed = " << info.m_managed << endl; # 48| arg << "scanning = " << info.m_p2pScanning << endl; # 49|-> arg << "path = " << info.m_dbusPath.path() << endl; # 50| # 51| return arg; Error: COMPILER_WARNING (CWE-477): [#def7] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp: scope_hint: In function ‘QDebug operator<<(QDebug, const SinkInfo&)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:44:40: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 44 | arg << "name = " << info.m_name << endl; # | ^~~~ /usr/include/qt5/QtCore/qdebug.h:49: included_from: Included from here. /usr/include/qt5/QtCore/QDebug:1: included_from: Included from here. deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:7: included_from: Included from here. /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 42| QDebug operator<<(QDebug arg, const SinkInfo &info) # 43| { # 44|-> arg << "name = " << info.m_name << endl; # 45| arg << "p2pMac = " << info.m_p2pMac << endl; # 46| arg << "interface = " << info.m_interface << endl; Error: COMPILER_WARNING (CWE-477): [#def8] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:45:44: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 45 | arg << "p2pMac = " << info.m_p2pMac << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 43| { # 44| arg << "name = " << info.m_name << endl; # 45|-> arg << "p2pMac = " << info.m_p2pMac << endl; # 46| arg << "interface = " << info.m_interface << endl; # 47| arg << "connected = " << info.m_connected << endl; Error: COMPILER_WARNING (CWE-477): [#def9] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:46:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 46 | arg << "interface = " << info.m_interface << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 44| arg << "name = " << info.m_name << endl; # 45| arg << "p2pMac = " << info.m_p2pMac << endl; # 46|-> arg << "interface = " << info.m_interface << endl; # 47| arg << "connected = " << info.m_connected << endl; # 48| arg << "peerPath = " << info.m_sinkPath.path() << endl; Error: COMPILER_WARNING (CWE-477): [#def10] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:47:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 47 | arg << "connected = " << info.m_connected << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 45| arg << "p2pMac = " << info.m_p2pMac << endl; # 46| arg << "interface = " << info.m_interface << endl; # 47|-> arg << "connected = " << info.m_connected << endl; # 48| arg << "peerPath = " << info.m_sinkPath.path() << endl; # 49| arg << "linkPath = " << info.m_linkPath.path() << endl; Error: COMPILER_WARNING (CWE-477): [#def11] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:48:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 48 | arg << "peerPath = " << info.m_sinkPath.path() << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 46| arg << "interface = " << info.m_interface << endl; # 47| arg << "connected = " << info.m_connected << endl; # 48|-> arg << "peerPath = " << info.m_sinkPath.path() << endl; # 49| arg << "linkPath = " << info.m_linkPath.path() << endl; # 50| Error: COMPILER_WARNING (CWE-477): [#def12] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/sinkinfolist.cpp:49:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 49 | arg << "linkPath = " << info.m_linkPath.path() << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 47| arg << "connected = " << info.m_connected << endl; # 48| arg << "peerPath = " << info.m_sinkPath.path() << endl; # 49|-> arg << "linkPath = " << info.m_linkPath.path() << endl; # 50| # 51| return arg; Error: COMPILER_WARNING (CWE-477): [#def13] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/zoneinfo.cpp: scope_hint: In function ‘QDebug operator<<(QDebug, const ZoneInfo&)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/zoneinfo.cpp:22:64: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 22 | argument << info.i2 << ',' << info.i3 << ',' << info.i4 << endl; # | ^~~~ /usr/include/qt5/QtCore/qdebug.h:49: included_from: Included from here. /usr/include/qt5/QtCore/QDebug:1: included_from: Included from here. deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/zoneinfo.h:8: included_from: Included from here. deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/libdframeworkdbus/types/zoneinfo.cpp:5: included_from: Included from here. /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 20| { # 21| argument << info.m_zoneName << ',' << info.m_zoneCity << ',' << info.m_utcOffset << ','; # 22|-> argument << info.i2 << ',' << info.i3 << ',' << info.i4 << endl; # 23| # 24| return argument; Error: COMPILER_WARNING (CWE-477): [#def14] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp: scope_hint: In function ‘QTextStream& writeHeader(QTextStream&, bool)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:262:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 262 | ts << "/*" << endl # | ^~~~ /usr/include/qt5/QtCore/qdebug.h:49: included_from: Included from here. deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:6: included_from: Included from here. /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 260| static QTextStream &writeHeader(QTextStream &ts, bool changesWillBeLost) # 261| { # 262|-> ts << "/*" << endl # 263| << " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl # 264| << " * Command line was: " << commandLine << endl Error: COMPILER_WARNING (CWE-477): [#def15] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:263:86: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 263 | << " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 261| { # 262| ts << "/*" << endl # 263|-> << " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl # 264| << " * Command line was: " << commandLine << endl # 265| << " *" << endl Error: COMPILER_WARNING (CWE-477): [#def16] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:264:53: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 264 | << " * Command line was: " << commandLine << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 262| ts << "/*" << endl # 263| << " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl # 264|-> << " * Command line was: " << commandLine << endl # 265| << " *" << endl # 266| << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl Error: COMPILER_WARNING (CWE-477): [#def17] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:265:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 265 | << " *" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 263| << " * This file was generated by " PROGRAMNAME " version " PROGRAMVERSION << endl # 264| << " * Command line was: " << commandLine << endl # 265|-> << " *" << endl # 266| << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl # 267| << " *" << endl Error: COMPILER_WARNING (CWE-477): [#def18] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:266:56: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 266 | << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 264| << " * Command line was: " << commandLine << endl # 265| << " *" << endl # 266|-> << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl # 267| << " *" << endl # 268| << " * This is an auto-generated file." << endl; Error: COMPILER_WARNING (CWE-477): [#def19] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:267:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 267 | << " *" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 265| << " *" << endl # 266| << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl # 267|-> << " *" << endl # 268| << " * This is an auto-generated file." << endl; # 269| Error: COMPILER_WARNING (CWE-477): [#def20] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:268:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 268 | << " * This is an auto-generated file." << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 266| << " * " PROGRAMNAME " is " PROGRAMCOPYRIGHT << endl # 267| << " *" << endl # 268|-> << " * This is an auto-generated file." << endl; # 269| # 270| if (changesWillBeLost) Error: COMPILER_WARNING (CWE-477): [#def21] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:271:73: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 271 | ts << " * Do not edit! All changes made to it will be lost." << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 269| # 270| if (changesWillBeLost) # 271|-> ts << " * Do not edit! All changes made to it will be lost." << endl; # 272| else # 273| ts << " * This file may have been hand-edited. Look for HAND-EDIT comments" << endl Error: COMPILER_WARNING (CWE-477): [#def22] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:273:88: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 273 | ts << " * This file may have been hand-edited. Look for HAND-EDIT comments" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 271| ts << " * Do not edit! All changes made to it will be lost." << endl; # 272| else # 273|-> ts << " * This file may have been hand-edited. Look for HAND-EDIT comments" << endl # 274| << " * before re-generating it." << endl; # 275| Error: COMPILER_WARNING (CWE-477): [#def23] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:274:48: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 274 | << " * before re-generating it." << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 272| else # 273| ts << " * This file may have been hand-edited. Look for HAND-EDIT comments" << endl # 274|-> << " * before re-generating it." << endl; # 275| # 276| ts << " */" << endl Error: COMPILER_WARNING (CWE-477): [#def24] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:276:20: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 276 | ts << " */" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 274| << " * before re-generating it." << endl; # 275| # 276|-> ts << " */" << endl # 277| << endl; # 278| Error: COMPILER_WARNING (CWE-477): [#def25] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:277:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 277 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 275| # 276| ts << " */" << endl # 277|-> << endl; # 278| # 279| return ts; Error: COMPILER_WARNING (CWE-477): [#def26] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp: scope_hint: In function ‘void writeProxy(const QString&, const QDBusIntrospection::Interfaces&)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:549:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 549 | hs << "#ifndef " << includeGuard << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 547| includeGuard = QString(QLatin1String("%1")) # 548| .arg(includeGuard); # 549|-> hs << "#ifndef " << includeGuard << endl # 550| << "#define " << includeGuard << endl # 551| << endl; Error: COMPILER_WARNING (CWE-477): [#def27] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:550:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 550 | << "#define " << includeGuard << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 548| .arg(includeGuard); # 549| hs << "#ifndef " << includeGuard << endl # 550|-> << "#define " << includeGuard << endl # 551| << endl; # 552| Error: COMPILER_WARNING (CWE-477): [#def28] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:551:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 551 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 549| hs << "#ifndef " << includeGuard << endl # 550| << "#define " << includeGuard << endl # 551|-> << endl; # 552| # 553| // include our stuff: Error: COMPILER_WARNING (CWE-477): [#def29] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:554:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 554 | hs << "#include <QtCore/QObject>" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 552| # 553| // include our stuff: # 554|-> hs << "#include <QtCore/QObject>" << endl # 555| << includeList # 556| << "#include <QtDBus/QtDBus>" << endl; Error: COMPILER_WARNING (CWE-477): [#def30] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:556:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 556 | << "#include <QtDBus/QtDBus>" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 554| hs << "#include <QtCore/QObject>" << endl # 555| << includeList # 556|-> << "#include <QtDBus/QtDBus>" << endl; # 557| # 558| foreach (const QString &include, includes) { Error: COMPILER_WARNING (CWE-477): [#def31] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:559:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 559 | hs << "#include \"" << include << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 557| # 558| foreach (const QString &include, includes) { # 559|-> hs << "#include \"" << include << "\"" << endl; # 560| if (headerName.isEmpty()) # 561| cs << "#include \"" << include << "\"" << endl; Error: COMPILER_WARNING (CWE-477): [#def32] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:561:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 561 | cs << "#include \"" << include << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 559| hs << "#include \"" << include << "\"" << endl; # 560| if (headerName.isEmpty()) # 561|-> cs << "#include \"" << include << "\"" << endl; # 562| } # 563| Error: COMPILER_WARNING (CWE-477): [#def33] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:564:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 564 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 562| } # 563| # 564|-> hs << endl; # 565| # 566| if (cppName != headerName) { Error: COMPILER_WARNING (CWE-477): [#def34] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:568:58: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 568 | cs << "#include \"" << headerName << "\"" << endl << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 566| if (cppName != headerName) { # 567| if (!headerName.isEmpty() && headerName != QLatin1String("-")) # 568|-> cs << "#include \"" << headerName << "\"" << endl << endl; # 569| } # 570| Error: COMPILER_WARNING (CWE-477): [#def35] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:568:66: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 568 | cs << "#include \"" << headerName << "\"" << endl << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 566| if (cppName != headerName) { # 567| if (!headerName.isEmpty() && headerName != QLatin1String("-")) # 568|-> cs << "#include \"" << headerName << "\"" << endl << endl; # 569| } # 570| Error: COMPILER_WARNING: [#def36] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:574:25: warning[-Wrange-loop-construct]: loop variable ‘method’ creates a copy from type ‘const QDBusIntrospection::Method’ # 574 | for (const auto method : interface->methods) # | ^~~~~~ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:574:25: note: use reference type to prevent copying # 574 | for (const auto method : interface->methods) # | ^~~~~~ # | & # 572| for (const QDBusIntrospection::Interface *interface : interfaces) # 573| { # 574|-> for (const auto method : interface->methods) # 575| { # 576| for (int i(0); i != method.outputArgs.size(); ++i) Error: COMPILER_WARNING: [#def37] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:595:25: warning[-Wrange-loop-construct]: loop variable ‘property’ creates a copy from type ‘const QDBusIntrospection::Property’ # 595 | for (const auto property : interface->properties) # | ^~~~~~~~ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:595:25: note: use reference type to prevent copying # 595 | for (const auto property : interface->properties) # | ^~~~~~~~ # | & # 593| } # 594| # 595|-> for (const auto property : interface->properties) # 596| { # 597| if (QDBusMetaType::signatureToType(property.type.toLatin1()) != QVariant::Invalid) Error: COMPILER_WARNING (CWE-477): [#def38] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:606:76: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 606 | hs << "#include \"types/" << annotation.toLower() << ".h\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 604| for (const QString &annotation : annotations) { # 605| if (annotation.indexOf('<')==-1) { # 606|-> hs << "#include \"types/" << annotation.toLower() << ".h\"" << endl; # 607| } # 608| } Error: COMPILER_WARNING (CWE-477): [#def39] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:609:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 609 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 607| } # 608| } # 609|-> hs << endl; # 610| # 611| foreach (const QDBusIntrospection::Interface *interface, interfaces) { Error: COMPILER_WARNING (CWE-477): [#def40] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:615:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 615 | hs << "/*" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 613| # 614| // comment: # 615|-> hs << "/*" << endl # 616| << " * Proxy class for interface " << interface->name << endl # 617| << " */" << endl; Error: COMPILER_WARNING (CWE-477): [#def41] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:616:69: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 616 | << " * Proxy class for interface " << interface->name << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 614| // comment: # 615| hs << "/*" << endl # 616|-> << " * Proxy class for interface " << interface->name << endl # 617| << " */" << endl; # 618| cs << "/*" << endl Error: COMPILER_WARNING (CWE-477): [#def42] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:617:24: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 617 | << " */" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 615| hs << "/*" << endl # 616| << " * Proxy class for interface " << interface->name << endl # 617|-> << " */" << endl; # 618| cs << "/*" << endl # 619| << " * Implementation of interface class " << className << endl Error: COMPILER_WARNING (CWE-477): [#def43] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:618:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 618 | cs << "/*" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 616| << " * Proxy class for interface " << interface->name << endl # 617| << " */" << endl; # 618|-> cs << "/*" << endl # 619| << " * Implementation of interface class " << className << endl # 620| << " */" << endl Error: COMPILER_WARNING (CWE-477): [#def44] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:619:71: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 619 | << " * Implementation of interface class " << className << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 617| << " */" << endl; # 618| cs << "/*" << endl # 619|-> << " * Implementation of interface class " << className << endl # 620| << " */" << endl # 621| << endl; Error: COMPILER_WARNING (CWE-477): [#def45] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:620:24: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 620 | << " */" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 618| cs << "/*" << endl # 619| << " * Implementation of interface class " << className << endl # 620|-> << " */" << endl # 621| << endl; # 622| Error: COMPILER_WARNING (CWE-477): [#def46] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:621:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 621 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 619| << " * Implementation of interface class " << className << endl # 620| << " */" << endl # 621|-> << endl; # 622| # 623| // private class declare Error: COMPILER_WARNING (CWE-477): [#def47] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:624:54: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 624 | hs << "class " << className << "Private;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 622| # 623| // private class declare # 624|-> hs << "class " << className << "Private;" << endl; # 625| // class header: # 626| hs << "class " << className << " : public DBusExtendedAbstractInterface" << endl Error: COMPILER_WARNING (CWE-477): [#def48] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:626:85: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 626 | hs << "class " << className << " : public DBusExtendedAbstractInterface" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 624| hs << "class " << className << "Private;" << endl; # 625| // class header: # 626|-> hs << "class " << className << " : public DBusExtendedAbstractInterface" << endl # 627| << "{" << endl # 628| << " Q_OBJECT" << endl; Error: COMPILER_WARNING (CWE-477): [#def49] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:627:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 627 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 625| // class header: # 626| hs << "class " << className << " : public DBusExtendedAbstractInterface" << endl # 627|-> << "{" << endl # 628| << " Q_OBJECT" << endl; # 629| hs << endl; Error: COMPILER_WARNING (CWE-477): [#def50] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:628:33: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 628 | << " Q_OBJECT" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 626| hs << "class " << className << " : public DBusExtendedAbstractInterface" << endl # 627| << "{" << endl # 628|-> << " Q_OBJECT" << endl; # 629| hs << endl; # 630| Error: COMPILER_WARNING (CWE-477): [#def51] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:629:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 629 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 627| << "{" << endl # 628| << " Q_OBJECT" << endl; # 629|-> hs << endl; # 630| # 631| // private class defines Error: COMPILER_WARNING (CWE-477): [#def52] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:632:53: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 632 | cs << "class " << className << "Private" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 630| # 631| // private class defines # 632|-> cs << "class " << className << "Private" << endl # 633| << "{" << endl # 634| << "public:" << endl Error: COMPILER_WARNING (CWE-477): [#def53] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:633:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 633 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 631| // private class defines # 632| cs << "class " << className << "Private" << endl # 633|-> << "{" << endl # 634| << "public:" << endl # 635| << " " << className << "Private() = default;" << endl Error: COMPILER_WARNING (CWE-477): [#def54] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:634:28: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 634 | << "public:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 632| cs << "class " << className << "Private" << endl # 633| << "{" << endl # 634|-> << "public:" << endl # 635| << " " << className << "Private() = default;" << endl # 636| << endl; Error: COMPILER_WARNING (CWE-477): [#def55] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:635:63: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 635 | << " " << className << "Private() = default;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 633| << "{" << endl # 634| << "public:" << endl # 635|-> << " " << className << "Private() = default;" << endl # 636| << endl; # 637| Error: COMPILER_WARNING (CWE-477): [#def56] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:636:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 636 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 634| << "public:" << endl # 635| << " " << className << "Private() = default;" << endl # 636|-> << endl; # 637| # 638| // private class member Error: COMPILER_WARNING (CWE-477): [#def57] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:639:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 639 | cs << " // begin member variables" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 637| # 638| // private class member # 639|-> cs << " // begin member variables" << endl; # 640| for (const auto property : interface->properties) # 641| { Error: COMPILER_WARNING: [#def58] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:640:25: warning[-Wrange-loop-construct]: loop variable ‘property’ creates a copy from type ‘const QDBusIntrospection::Property’ # 640 | for (const auto property : interface->properties) # | ^~~~~~~~ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:640:25: note: use reference type to prevent copying # 640 | for (const auto property : interface->properties) # | ^~~~~~~~ # | & # 638| // private class member # 639| cs << " // begin member variables" << endl; # 640|-> for (const auto property : interface->properties) # 641| { # 642| QByteArray type = qtTypeName(property.type, property.annotations); Error: COMPILER_WARNING (CWE-477): [#def59] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:643:68: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 643 | cs << " " << type << " " << property.name << ';' << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 641| { # 642| QByteArray type = qtTypeName(property.type, property.annotations); # 643|-> cs << " " << type << " " << property.name << ';' << endl; # 644| } # 645| Error: COMPILER_WARNING (CWE-477): [#def60] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:646:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 646 | cs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 644| } # 645| # 646|-> cs << endl; # 647| # 648| // stuffs member Error: COMPILER_WARNING (CWE-477): [#def61] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:649:28: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 649 | cs << "public:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 647| # 648| // stuffs member # 649|-> cs << "public:" << endl # 650| << " QMap<QString, QDBusPendingCallWatcher *> m_processingCalls;" << endl # 651| << " QMap<QString, QList<QVariant>> m_waittingCalls;" << endl; Error: COMPILER_WARNING (CWE-477): [#def62] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:650:84: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 650 | << " QMap<QString, QDBusPendingCallWatcher *> m_processingCalls;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 648| // stuffs member # 649| cs << "public:" << endl # 650|-> << " QMap<QString, QDBusPendingCallWatcher *> m_processingCalls;" << endl # 651| << " QMap<QString, QList<QVariant>> m_waittingCalls;" << endl; # 652| Error: COMPILER_WARNING (CWE-477): [#def63] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:651:72: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 651 | << " QMap<QString, QList<QVariant>> m_waittingCalls;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 649| cs << "public:" << endl # 650| << " QMap<QString, QDBusPendingCallWatcher *> m_processingCalls;" << endl # 651|-> << " QMap<QString, QList<QVariant>> m_waittingCalls;" << endl; # 652| # 653| cs << "};" << endl Error: COMPILER_WARNING (CWE-477): [#def64] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:653:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 653 | cs << "};" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 651| << " QMap<QString, QList<QVariant>> m_waittingCalls;" << endl; # 652| # 653|-> cs << "};" << endl # 654| << endl; # 655| // end of private class defines Error: COMPILER_WARNING (CWE-477): [#def65] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:654:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 654 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 652| # 653| cs << "};" << endl # 654|-> << endl; # 655| // end of private class defines # 656| Error: COMPILER_WARNING (CWE-477): [#def66] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:658:28: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 658 | hs << "public:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 656| # 657| // the interface name # 658|-> hs << "public:" << endl # 659| << " static inline const char *staticInterfaceName()" << endl # 660| << " { return \"" << interface->name << "\"; }" << endl Error: COMPILER_WARNING (CWE-477): [#def67] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:659:72: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 659 | << " static inline const char *staticInterfaceName()" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 657| // the interface name # 658| hs << "public:" << endl # 659|-> << " static inline const char *staticInterfaceName()" << endl # 660| << " { return \"" << interface->name << "\"; }" << endl # 661| << endl; Error: COMPILER_WARNING (CWE-477): [#def68] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:660:66: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 660 | << " { return \"" << interface->name << "\"; }" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 658| hs << "public:" << endl # 659| << " static inline const char *staticInterfaceName()" << endl # 660|-> << " { return \"" << interface->name << "\"; }" << endl # 661| << endl; # 662| Error: COMPILER_WARNING (CWE-477): [#def69] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:661:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 661 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 659| << " static inline const char *staticInterfaceName()" << endl # 660| << " { return \"" << interface->name << "\"; }" << endl # 661|-> << endl; # 662| # 663| // constructors/destructors: Error: COMPILER_WARNING (CWE-477): [#def70] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:664:28: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 664 | hs << "public:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 662| # 663| // constructors/destructors: # 664|-> hs << "public:" << endl # 665| << " explicit " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl # 666| << endl Error: COMPILER_WARNING (CWE-477): [#def71] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:665:155: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 665 | << " explicit " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 663| // constructors/destructors: # 664| hs << "public:" << endl # 665|-> << " explicit " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl # 666| << endl # 667| << " ~" << className << "();" << endl Error: COMPILER_WARNING (CWE-477): [#def72] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:666:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 666 | << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 664| hs << "public:" << endl # 665| << " explicit " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl # 666|-> << endl # 667| << " ~" << className << "();" << endl # 668| << endl; Error: COMPILER_WARNING (CWE-477): [#def73] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:667:48: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 667 | << " ~" << className << "();" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 665| << " explicit " << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);" << endl # 666| << endl # 667|-> << " ~" << className << "();" << endl # 668| << endl; # 669| cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl Error: COMPILER_WARNING (CWE-477): [#def74] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:668:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 668 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 666| << endl # 667| << " ~" << className << "();" << endl # 668|-> << endl; # 669| cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl # 670| << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl Error: COMPILER_WARNING (CWE-477): [#def75] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:669:152: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 669 | cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 667| << " ~" << className << "();" << endl # 668| << endl; # 669|-> cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl # 670| << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl # 671| << " , d_ptr(new " << className << "Private)" << endl Error: COMPILER_WARNING (CWE-477): [#def76] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:670:114: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 670 | << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 668| << endl; # 669| cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl # 670|-> << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl # 671| << " , d_ptr(new " << className << "Private)" << endl # 672| << "{" << endl; Error: COMPILER_WARNING (CWE-477): [#def77] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:671:64: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 671 | << " , d_ptr(new " << className << "Private)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 669| cs << className << "::" << className << "(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent)" << endl # 670| << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl # 671|-> << " , d_ptr(new " << className << "Private)" << endl # 672| << "{" << endl; # 673| if (!interface->properties.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def78] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:672:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 672 | << "{" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 670| << " : DBusExtendedAbstractInterface(service, path, staticInterfaceName(), connection, parent)" << endl # 671| << " , d_ptr(new " << className << "Private)" << endl # 672|-> << "{" << endl; # 673| if (!interface->properties.isEmpty()) # 674| cs << " connect(this, &" << className << "::propertyChanged, this, &" << className << "::onPropertyChanged);" << endl << endl; Error: COMPILER_WARNING (CWE-477): [#def79] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:674:131: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 674 | cs << " connect(this, &" << className << "::propertyChanged, this, &" << className << "::onPropertyChanged);" << endl << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 672| << "{" << endl; # 673| if (!interface->properties.isEmpty()) # 674|-> cs << " connect(this, &" << className << "::propertyChanged, this, &" << className << "::onPropertyChanged);" << endl << endl; # 675| # 676| for (const QString &annotation : annotations) { Error: COMPILER_WARNING (CWE-477): [#def80] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:674:139: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 674 | cs << " connect(this, &" << className << "::propertyChanged, this, &" << className << "::onPropertyChanged);" << endl << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 672| << "{" << endl; # 673| if (!interface->properties.isEmpty()) # 674|-> cs << " connect(this, &" << className << "::propertyChanged, this, &" << className << "::onPropertyChanged);" << endl << endl; # 675| # 676| for (const QString &annotation : annotations) { Error: COMPILER_WARNING (CWE-477): [#def81] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:678:107: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 678 | cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType) {" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 676| for (const QString &annotation : annotations) { # 677| if(annotation.indexOf('<')!=-1) { # 678|-> cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType) {" << endl; # 679| cs << " qRegisterMetaType< " << annotation << " >(\"" << annotation << "\");" << endl; # 680| cs << " qDBusRegisterMetaType< " << annotation << " >();" << endl; Error: COMPILER_WARNING (CWE-477): [#def82] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:679:105: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 679 | cs << " qRegisterMetaType< " << annotation << " >(\"" << annotation << "\");" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 677| if(annotation.indexOf('<')!=-1) { # 678| cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType) {" << endl; # 679|-> cs << " qRegisterMetaType< " << annotation << " >(\"" << annotation << "\");" << endl; # 680| cs << " qDBusRegisterMetaType< " << annotation << " >();" << endl; # 681| cs << " }" << endl; Error: COMPILER_WARNING (CWE-477): [#def83] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:680:85: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 680 | cs << " qDBusRegisterMetaType< " << annotation << " >();" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 678| cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType) {" << endl; # 679| cs << " qRegisterMetaType< " << annotation << " >(\"" << annotation << "\");" << endl; # 680|-> cs << " qDBusRegisterMetaType< " << annotation << " >();" << endl; # 681| cs << " }" << endl; # 682| } Error: COMPILER_WARNING (CWE-477): [#def84] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:681:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 681 | cs << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 679| cs << " qRegisterMetaType< " << annotation << " >(\"" << annotation << "\");" << endl; # 680| cs << " qDBusRegisterMetaType< " << annotation << " >();" << endl; # 681|-> cs << " }" << endl; # 682| } # 683| else { Error: COMPILER_WARNING (CWE-477): [#def85] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:684:105: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 684 | cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType)" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 682| } # 683| else { # 684|-> cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType)" << endl; # 685| cs << " register" << annotation << "MetaType();" << endl; # 686| } Error: COMPILER_WARNING (CWE-477): [#def86] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:685:76: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 685 | cs << " register" << annotation << "MetaType();" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 683| else { # 684| cs << " if (QMetaType::type(\"" << annotation << "\") == QMetaType::UnknownType)" << endl; # 685|-> cs << " register" << annotation << "MetaType();" << endl; # 686| } # 687| } Error: COMPILER_WARNING (CWE-477): [#def87] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:689:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 689 | cs << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 687| } # 688| # 689|-> cs << "}" << endl # 690| << endl # 691| << className << "::~" << className << "()" << endl Error: COMPILER_WARNING (CWE-477): [#def88] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:690:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 690 | << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 688| # 689| cs << "}" << endl # 690|-> << endl # 691| << className << "::~" << className << "()" << endl # 692| << "{" << endl Error: COMPILER_WARNING (CWE-477): [#def89] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:691:58: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 691 | << className << "::~" << className << "()" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 689| cs << "}" << endl # 690| << endl # 691|-> << className << "::~" << className << "()" << endl # 692| << "{" << endl # 693| << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl Error: COMPILER_WARNING (CWE-477): [#def90] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:692:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 692 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 690| << endl # 691| << className << "::~" << className << "()" << endl # 692|-> << "{" << endl # 693| << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl # 694| << " delete d_ptr;" << endl Error: COMPILER_WARNING (CWE-477): [#def91] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:693:71: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 693 | << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 691| << className << "::~" << className << "()" << endl # 692| << "{" << endl # 693|-> << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl # 694| << " delete d_ptr;" << endl # 695| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def92] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:694:38: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 694 | << " delete d_ptr;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 692| << "{" << endl # 693| << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl # 694|-> << " delete d_ptr;" << endl # 695| << "}" << endl # 696| << endl; Error: COMPILER_WARNING (CWE-477): [#def93] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:695:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 695 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 693| << " qDeleteAll(d_ptr->m_processingCalls.values());" << endl # 694| << " delete d_ptr;" << endl # 695|-> << "}" << endl # 696| << endl; # 697| Error: COMPILER_WARNING (CWE-477): [#def94] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:696:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 696 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 694| << " delete d_ptr;" << endl # 695| << "}" << endl # 696|-> << endl; # 697| # 698| if (!interface->properties.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def95] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:701:116: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 701 | cs << "void " << className << "::onPropertyChanged(const QString &propName, const QVariant &value)" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 699| { # 700| // onPropertyChanged # 701|-> cs << "void " << className << "::onPropertyChanged(const QString &propName, const QVariant &value)" << endl; # 702| cs << "{" << endl; # 703| Error: COMPILER_WARNING (CWE-477): [#def96] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:702:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 702 | cs << "{" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 700| // onPropertyChanged # 701| cs << "void " << className << "::onPropertyChanged(const QString &propName, const QVariant &value)" << endl; # 702|-> cs << "{" << endl; # 703| # 704| for (const auto property : interface->properties) Error: COMPILER_WARNING: [#def97] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:704:29: warning[-Wrange-loop-construct]: loop variable ‘property’ creates a copy from type ‘const QDBusIntrospection::Property’ # 704 | for (const auto property : interface->properties) # | ^~~~~~~~ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:704:29: note: use reference type to prevent copying # 704 | for (const auto property : interface->properties) # | ^~~~~~~~ # | & # 702| cs << "{" << endl; # 703| # 704|-> for (const auto property : interface->properties) # 705| { # 706| char first = property.name[0].toLatin1(); Error: COMPILER_WARNING (CWE-477): [#def98] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:712:93: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 712 | cs << " if (propName == QStringLiteral(\"" << property.name << "\"))" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 710| QByteArray type = qtTypeName(property.type, property.annotations); # 711| # 712|-> cs << " if (propName == QStringLiteral(\"" << property.name << "\"))" << endl; # 713| cs << " {" << endl; # 714| cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; Error: COMPILER_WARNING (CWE-477): [#def99] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:713:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 713 | cs << " {" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 711| # 712| cs << " if (propName == QStringLiteral(\"" << property.name << "\"))" << endl; # 713|-> cs << " {" << endl; # 714| cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; # 715| cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; Error: COMPILER_WARNING (CWE-477): [#def100] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:714:122: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 714 | cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 712| cs << " if (propName == QStringLiteral(\"" << property.name << "\"))" << endl; # 713| cs << " {" << endl; # 714|-> cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; # 715| cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; # 716| cs << " {" << endl; Error: COMPILER_WARNING (CWE-477): [#def101] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:715:105: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 715 | cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 713| cs << " {" << endl; # 714| cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; # 715|-> cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; # 716| cs << " {" << endl; # 717| cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; Error: COMPILER_WARNING (CWE-477): [#def102] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:716:38: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 716 | cs << " {" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 714| cs << " const " << type << " &" << property.name << " = qvariant_cast<" << type << ">(value);" << endl; # 715| cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; # 716|-> cs << " {" << endl; # 717| cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; # 718| cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; Error: COMPILER_WARNING (CWE-477): [#def103] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:717:98: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 717 | cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 715| cs << " " << "if (d_ptr->" << property.name << " != " << property.name << ")" << endl; # 716| cs << " {" << endl; # 717|-> cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; # 718| cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; # 719| cs << " }" << endl; Error: COMPILER_WARNING (CWE-477): [#def104] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:718:102: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 718 | cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 716| cs << " {" << endl; # 717| cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; # 718|-> cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; # 719| cs << " }" << endl; # 720| cs << " return;" << endl; Error: COMPILER_WARNING (CWE-477): [#def105] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:719:38: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 719 | cs << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 717| cs << " d_ptr->" << property.name << " = " << property.name << ';' << endl; # 718| cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; # 719|-> cs << " }" << endl; # 720| cs << " return;" << endl; # 721| cs << " }" << endl; Error: COMPILER_WARNING (CWE-477): [#def106] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:720:44: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 720 | cs << " return;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 718| cs << " Q_EMIT " << name << "Changed(d_ptr->" << property.name << ");" << endl; # 719| cs << " }" << endl; # 720|-> cs << " return;" << endl; # 721| cs << " }" << endl; # 722| cs << endl; Error: COMPILER_WARNING (CWE-477): [#def107] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:721:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 721 | cs << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 719| cs << " }" << endl; # 720| cs << " return;" << endl; # 721|-> cs << " }" << endl; # 722| cs << endl; # 723| } Error: COMPILER_WARNING (CWE-477): [#def108] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:722:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 722 | cs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 720| cs << " return;" << endl; # 721| cs << " }" << endl; # 722|-> cs << endl; # 723| } # 724| cs << " qWarning() << \"property not handle: \" << propName;" << endl; Error: COMPILER_WARNING (CWE-477): [#def109] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:724:81: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 724 | cs << " qWarning() << \"property not handle: \" << propName;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 722| cs << endl; # 723| } # 724|-> cs << " qWarning() << \"property not handle: \" << propName;" << endl; # 725| cs << " return;" << endl; # 726| cs << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def110] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:725:36: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 725 | cs << " return;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 723| } # 724| cs << " qWarning() << \"property not handle: \" << propName;" << endl; # 725|-> cs << " return;" << endl; # 726| cs << "}" << endl # 727| << endl; Error: COMPILER_WARNING (CWE-477): [#def111] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:726:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 726 | cs << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 724| cs << " qWarning() << \"property not handle: \" << propName;" << endl; # 725| cs << " return;" << endl; # 726|-> cs << "}" << endl # 727| << endl; # 728| } Error: COMPILER_WARNING (CWE-477): [#def112] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:727:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 727 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 725| cs << " return;" << endl; # 726| cs << "}" << endl # 727|-> << endl; # 728| } # 729| Error: COMPILER_WARNING (CWE-477): [#def113] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:754:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 754 | hs << ")" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 752| hs << " NOTIFY " << notifier; # 753| # 754|-> hs << ")" << endl; # 755| # 756| // getter: Error: COMPILER_WARNING (CWE-477): [#def114] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:759:67: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 759 | hs << " " << type << " " << getter << "();" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 757| if (property.access != QDBusIntrospection::Property::Write) { # 758| // getter declare # 759|-> hs << " " << type << " " << getter << "();" << endl; # 760| # 761| // getter define Error: COMPILER_WARNING (CWE-477): [#def115] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:762:77: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 762 | cs << type << " " << className << "::" << getter << "()" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 760| # 761| // getter define # 762|-> cs << type << " " << className << "::" << getter << "()" << endl # 763| << "{" << endl # 764| << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl Error: COMPILER_WARNING (CWE-477): [#def116] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:763:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 763 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 761| // getter define # 762| cs << type << " " << className << "::" << getter << "()" << endl # 763|-> << "{" << endl # 764| << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl # 765| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def117] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:764:149: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 764 | << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 762| cs << type << " " << className << "::" << getter << "()" << endl # 763| << "{" << endl # 764|-> << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl # 765| << "}" << endl # 766| << endl; Error: COMPILER_WARNING (CWE-477): [#def118] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:765:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 765 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 763| << "{" << endl # 764| << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl # 765|-> << "}" << endl # 766| << endl; # 767| } Error: COMPILER_WARNING (CWE-477): [#def119] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:766:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 766 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 764| << " return qvariant_cast<" << type << ">(internalPropGet(\"" << property.name << "\", &d_ptr->" << property.name << "));" << endl # 765| << "}" << endl # 766|-> << endl; # 767| } # 768| Error: COMPILER_WARNING (CWE-477): [#def120] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:772:89: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 772 | hs << " void " << setter << "(" << constRefArg(type) << "value);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 770| if (property.access != QDBusIntrospection::Property::Read) { # 771| // setter declare # 772|-> hs << " void " << setter << "(" << constRefArg(type) << "value);" << endl; # 773| # 774| // setter define Error: COMPILER_WARNING (CWE-477): [#def121] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:775:105: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 775 | cs << "void " << className << "::" << setter << "(" << constRefArg(type) << "value)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 773| # 774| // setter define # 775|-> cs << "void " << className << "::" << setter << "(" << constRefArg(type) << "value)" << endl # 776| << "{" << endl # 777| << endl Error: COMPILER_WARNING (CWE-477): [#def122] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:776:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 776 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 774| // setter define # 775| cs << "void " << className << "::" << setter << "(" << constRefArg(type) << "value)" << endl # 776|-> << "{" << endl # 777| << endl # 778| << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl Error: COMPILER_WARNING (CWE-477): [#def123] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:777:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 777 | << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 775| cs << "void " << className << "::" << setter << "(" << constRefArg(type) << "value)" << endl # 776| << "{" << endl # 777|-> << endl # 778| << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl # 779| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def124] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:778:138: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 778 | << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 776| << "{" << endl # 777| << endl # 778|-> << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl # 779| << "}" << endl # 780| << endl; Error: COMPILER_WARNING (CWE-477): [#def125] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:779:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 779 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 777| << endl # 778| << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl # 779|-> << "}" << endl # 780| << endl; # 781| } Error: COMPILER_WARNING (CWE-477): [#def126] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:780:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 780 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 778| << " internalPropSet(\"" << property.name << "\", QVariant::fromValue(value), &d_ptr->" << property.name << ");" << endl # 779| << "}" << endl # 780|-> << endl; # 781| } # 782| Error: COMPILER_WARNING (CWE-477): [#def127] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:783:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 783 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 781| } # 782| # 783|-> hs << endl; # 784| } # 785| Error: COMPILER_WARNING (CWE-477): [#def128] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:787:47: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 787 | hs << "public Q_SLOTS: // METHODS" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 785| # 786| // methods: # 787|-> hs << "public Q_SLOTS: // METHODS" << endl; # 788| foreach (const QDBusIntrospection::Method &method, interface->methods) { # 789| bool isDeprecated = method.annotations.value(QLatin1String("org.freedesktop.DBus.Deprecated")) == QLatin1String("true"); Error: COMPILER_WARNING (CWE-477): [#def129] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:816:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 816 | hs << ")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 814| writeArgList(hs, argNames, method.annotations, method.inputArgs); # 815| # 816|-> hs << ")" << endl # 817| << " {" << endl # 818| << " QList<QVariant> argumentList;" << endl; Error: COMPILER_WARNING (CWE-477): [#def130] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:817:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 817 | << " {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 815| # 816| hs << ")" << endl # 817|-> << " {" << endl # 818| << " QList<QVariant> argumentList;" << endl; # 819| Error: COMPILER_WARNING (CWE-477): [#def131] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:818:62: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 818 | << " QList<QVariant> argumentList;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 816| hs << ")" << endl # 817| << " {" << endl # 818|-> << " QList<QVariant> argumentList;" << endl; # 819| # 820| if (!method.inputArgs.isEmpty()) { Error: COMPILER_WARNING (CWE-477): [#def132] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:824:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 824 | hs << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 822| for (int argPos = 0; argPos < method.inputArgs.count(); ++argPos) # 823| hs << " << QVariant::fromValue(" << argNames.at(argPos) << ')'; # 824|-> hs << ";" << endl; # 825| } # 826| Error: COMPILER_WARNING (CWE-477): [#def133] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:829:87: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 829 | << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 827| if (isNoReply) # 828| hs << " callWithArgumentList(QDBus::NoBlock, " # 829|-> << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; # 830| else # 831| hs << " return asyncCallWithArgumentList(QStringLiteral(\"" Error: COMPILER_WARNING (CWE-477): [#def134] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:832:63: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 832 | << method.name << "\"), argumentList);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 830| else # 831| hs << " return asyncCallWithArgumentList(QStringLiteral(\"" # 832|-> << method.name << "\"), argumentList);" << endl; # 833| # 834| // close the function: Error: COMPILER_WARNING (CWE-477): [#def135] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:835:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 835 | hs << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 833| # 834| // close the function: # 835|-> hs << " }" << endl; # 836| # 837| hs << endl; Error: COMPILER_WARNING (CWE-477): [#def136] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:837:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 837 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 835| hs << " }" << endl; # 836| # 837|-> hs << endl; # 838| // queued version for void return type functions # 839| if (method.outputArgs.count() == 0) Error: COMPILER_WARNING (CWE-477): [#def137] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:843:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 843 | hs << ")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 841| hs << " inline void " << method.name << "Queued("; # 842| writeArgList(hs, argNames, method.annotations, method.inputArgs, method.outputArgs); # 843|-> hs << ")" << endl # 844| << " {" << endl # 845| << " QList<QVariant> argumentList;" << endl; Error: COMPILER_WARNING (CWE-477): [#def138] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:844:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 844 | << " {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 842| writeArgList(hs, argNames, method.annotations, method.inputArgs, method.outputArgs); # 843| hs << ")" << endl # 844|-> << " {" << endl # 845| << " QList<QVariant> argumentList;" << endl; # 846| Error: COMPILER_WARNING (CWE-477): [#def139] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:845:66: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 845 | << " QList<QVariant> argumentList;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 843| hs << ")" << endl # 844| << " {" << endl # 845|-> << " QList<QVariant> argumentList;" << endl; # 846| # 847| int argPos = 0; Error: COMPILER_WARNING (CWE-477): [#def140] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:852:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 852 | hs << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 850| for (argPos = 0; argPos < method.inputArgs.count(); ++argPos) # 851| hs << " << QVariant::fromValue(" << argNames.at(argPos) << ')'; # 852|-> hs << ";" << endl; # 853| } # 854| Error: COMPILER_WARNING (CWE-477): [#def141] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:855:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 855 | hs << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 853| } # 854| # 855|-> hs << endl # 856| << " CallQueued(" << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl # 857| << " }" << endl; Error: COMPILER_WARNING (CWE-477): [#def142] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:856:111: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 856 | << " CallQueued(" << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 854| # 855| hs << endl # 856|-> << " CallQueued(" << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl # 857| << " }" << endl; # 858| } Error: COMPILER_WARNING (CWE-477): [#def143] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:857:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 857 | << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 855| hs << endl # 856| << " CallQueued(" << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl # 857|-> << " }" << endl; # 858| } # 859| Error: COMPILER_WARNING (CWE-477): [#def144] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:860:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 860 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 858| } # 859| # 860|-> hs << endl; # 861| if (method.outputArgs.count() > 1) { # 862| const auto templateArgument = templateArg(qtTypeName(method.outputArgs.first().type, method.annotations, 0, "Out")); Error: COMPILER_WARNING (CWE-477): [#def145] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:874:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 874 | hs << ")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 872| writeArgList(hs, argNames, method.annotations, method.inputArgs, method.outputArgs); # 873| # 874|-> hs << ")" << endl # 875| << " {" << endl # 876| << " QList<QVariant> argumentList;" << endl; Error: COMPILER_WARNING (CWE-477): [#def146] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:875:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 875 | << " {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 873| # 874| hs << ")" << endl # 875|-> << " {" << endl # 876| << " QList<QVariant> argumentList;" << endl; # 877| Error: COMPILER_WARNING (CWE-477): [#def147] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:876:66: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 876 | << " QList<QVariant> argumentList;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 874| hs << ")" << endl # 875| << " {" << endl # 876|-> << " QList<QVariant> argumentList;" << endl; # 877| # 878| int argPos = 0; Error: COMPILER_WARNING (CWE-477): [#def148] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:883:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 883 | hs << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 881| for (argPos = 0; argPos < method.inputArgs.count(); ++argPos) # 882| hs << " << QVariant::fromValue(" << argNames.at(argPos) << ')'; # 883|-> hs << ";" << endl; # 884| } # 885| Error: COMPILER_WARNING (CWE-477): [#def149] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:887:87: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 887 | << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 885| # 886| hs << " QDBusMessage reply = callWithArgumentList(QDBus::Block, " # 887|-> << "QStringLiteral(\"" << method.name << "\"), argumentList);" << endl; # 888| # 889| argPos++; Error: COMPILER_WARNING (CWE-477): [#def150] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:891:61: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 891 | << method.outputArgs.count() << ") {" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 889| argPos++; # 890| hs << " if (reply.type() == QDBusMessage::ReplyMessage && reply.arguments().count() == " # 891|-> << method.outputArgs.count() << ") {" << endl; # 892| # 893| // yes, starting from 1 Error: COMPILER_WARNING (CWE-477): [#def151] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:897:70: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 897 | << ">(reply.arguments().at(" << i << "));" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 895| hs << " " << argNames.at(argPos++) << " = qdbus_cast<" # 896| << templateArg(qtTypeName(method.outputArgs.at(i).type, method.annotations, i, "Out")) # 897|-> << ">(reply.arguments().at(" << i << "));" << endl; # 898| hs << " }" << endl # 899| << " return reply;" << endl Error: COMPILER_WARNING (CWE-477): [#def152] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:898:38: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 898 | hs << " }" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 896| << templateArg(qtTypeName(method.outputArgs.at(i).type, method.annotations, i, "Out")) # 897| << ">(reply.arguments().at(" << i << "));" << endl; # 898|-> hs << " }" << endl # 899| << " return reply;" << endl # 900| << " }" << endl; Error: COMPILER_WARNING (CWE-477): [#def153] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:899:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 899 | << " return reply;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 897| << ">(reply.arguments().at(" << i << "));" << endl; # 898| hs << " }" << endl # 899|-> << " return reply;" << endl # 900| << " }" << endl; # 901| } Error: COMPILER_WARNING (CWE-477): [#def154] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:900:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 900 | << " }" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 898| hs << " }" << endl # 899| << " return reply;" << endl # 900|-> << " }" << endl; # 901| } # 902| Error: COMPILER_WARNING (CWE-477): [#def155] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:903:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 903 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 901| } # 902| # 903|-> hs << endl; # 904| } # 905| Error: COMPILER_WARNING (CWE-477): [#def156] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:906:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 906 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 904| } # 905| # 906|-> hs << endl; # 907| # 908| hs << "Q_SIGNALS: // SIGNALS" << endl; Error: COMPILER_WARNING (CWE-477): [#def157] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:908:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 908 | hs << "Q_SIGNALS: // SIGNALS" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 906| hs << endl; # 907| # 908|-> hs << "Q_SIGNALS: // SIGNALS" << endl; # 909| foreach (const QDBusIntrospection::Signal &signal, interface->signals_) { # 910| hs << " "; Error: COMPILER_WARNING (CWE-477): [#def158] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:920:27: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 920 | hs << ");" << endl; // finished for header # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 918| writeArgList(hs, argNames, signal.annotations, signal.outputArgs); # 919| # 920|-> hs << ");" << endl; // finished for header # 921| } # 922| Error: COMPILER_WARNING (CWE-477): [#def159] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:924:58: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 924 | hs << " // begin property changed signals" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 922| # 923| //propery changed signals # 924|-> hs << " // begin property changed signals" << endl; # 925| foreach (const QDBusIntrospection::Property &property, interface->properties) { # 926| hs << " "; Error: COMPILER_WARNING (CWE-477): [#def160] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:932:91: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 932 | hs << "void " << notifier << "(" << constRefType << " value" << ") const;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 930| # 931| //notifier # 932|-> hs << "void " << notifier << "(" << constRefType << " value" << ") const;" << endl; # 933| } # 934| Error: COMPILER_WARNING (CWE-477): [#def161] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:935:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 935 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 933| } # 934| # 935|-> hs << endl; # 936| # 937| // queued stuffs Error: COMPILER_WARNING (CWE-477): [#def162] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:938:36: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 938 | hs << "public Q_SLOTS:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 936| # 937| // queued stuffs # 938|-> hs << "public Q_SLOTS:" << endl # 939| << " void CallQueued(const QString &callName, const QList<QVariant> &args);" << endl # 940| << endl; Error: COMPILER_WARNING (CWE-477): [#def163] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:939:95: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 939 | << " void CallQueued(const QString &callName, const QList<QVariant> &args);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 937| // queued stuffs # 938| hs << "public Q_SLOTS:" << endl # 939|-> << " void CallQueued(const QString &callName, const QList<QVariant> &args);" << endl # 940| << endl; # 941| Error: COMPILER_WARNING (CWE-477): [#def164] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:940:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 940 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 938| hs << "public Q_SLOTS:" << endl # 939| << " void CallQueued(const QString &callName, const QList<QVariant> &args);" << endl # 940|-> << endl; # 941| # 942| cs << "void " << className << "::CallQueued(const QString &callName, const QList<QVariant> &args)" << endl Error: COMPILER_WARNING (CWE-477): [#def165] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:942:111: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 942 | cs << "void " << className << "::CallQueued(const QString &callName, const QList<QVariant> &args)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 940| << endl; # 941| # 942|-> cs << "void " << className << "::CallQueued(const QString &callName, const QList<QVariant> &args)" << endl # 943| << "{" << endl # 944| << " if (d_ptr->m_waittingCalls.contains(callName))" << endl Error: COMPILER_WARNING (CWE-477): [#def166] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:943:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 943 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 941| # 942| cs << "void " << className << "::CallQueued(const QString &callName, const QList<QVariant> &args)" << endl # 943|-> << "{" << endl # 944| << " if (d_ptr->m_waittingCalls.contains(callName))" << endl # 945| << " {" << endl Error: COMPILER_WARNING (CWE-477): [#def167] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:944:71: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 944 | << " if (d_ptr->m_waittingCalls.contains(callName))" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 942| cs << "void " << className << "::CallQueued(const QString &callName, const QList<QVariant> &args)" << endl # 943| << "{" << endl # 944|-> << " if (d_ptr->m_waittingCalls.contains(callName))" << endl # 945| << " {" << endl # 946| << " d_ptr->m_waittingCalls[callName] = args;" << endl Error: COMPILER_WARNING (CWE-477): [#def168] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:945:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 945 | << " {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 943| << "{" << endl # 944| << " if (d_ptr->m_waittingCalls.contains(callName))" << endl # 945|-> << " {" << endl # 946| << " d_ptr->m_waittingCalls[callName] = args;" << endl # 947| << " return;" << endl Error: COMPILER_WARNING (CWE-477): [#def169] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:946:69: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 946 | << " d_ptr->m_waittingCalls[callName] = args;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 944| << " if (d_ptr->m_waittingCalls.contains(callName))" << endl # 945| << " {" << endl # 946|-> << " d_ptr->m_waittingCalls[callName] = args;" << endl # 947| << " return;" << endl # 948| << " }" << endl Error: COMPILER_WARNING (CWE-477): [#def170] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:947:36: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 947 | << " return;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 945| << " {" << endl # 946| << " d_ptr->m_waittingCalls[callName] = args;" << endl # 947|-> << " return;" << endl # 948| << " }" << endl # 949| << " if (d_ptr->m_processingCalls.contains(callName))" << endl Error: COMPILER_WARNING (CWE-477): [#def171] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:948:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 948 | << " }" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 946| << " d_ptr->m_waittingCalls[callName] = args;" << endl # 947| << " return;" << endl # 948|-> << " }" << endl # 949| << " if (d_ptr->m_processingCalls.contains(callName))" << endl # 950| << " {" << endl Error: COMPILER_WARNING (CWE-477): [#def172] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:949:73: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 949 | << " if (d_ptr->m_processingCalls.contains(callName))" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 947| << " return;" << endl # 948| << " }" << endl # 949|-> << " if (d_ptr->m_processingCalls.contains(callName))" << endl # 950| << " {" << endl # 951| << " d_ptr->m_waittingCalls.insert(callName, args);" << endl Error: COMPILER_WARNING (CWE-477): [#def173] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:950:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 950 | << " {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 948| << " }" << endl # 949| << " if (d_ptr->m_processingCalls.contains(callName))" << endl # 950|-> << " {" << endl # 951| << " d_ptr->m_waittingCalls.insert(callName, args);" << endl # 952| << " } else {" << endl Error: COMPILER_WARNING (CWE-477): [#def174] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:951:75: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 951 | << " d_ptr->m_waittingCalls.insert(callName, args);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 949| << " if (d_ptr->m_processingCalls.contains(callName))" << endl # 950| << " {" << endl # 951|-> << " d_ptr->m_waittingCalls.insert(callName, args);" << endl # 952| << " } else {" << endl # 953| << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl Error: COMPILER_WARNING (CWE-477): [#def175] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:952:33: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 952 | << " } else {" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 950| << " {" << endl # 951| << " d_ptr->m_waittingCalls.insert(callName, args);" << endl # 952|-> << " } else {" << endl # 953| << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl # 954| << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl Error: COMPILER_WARNING (CWE-477): [#def176] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:953:135: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 953 | << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 951| << " d_ptr->m_waittingCalls.insert(callName, args);" << endl # 952| << " } else {" << endl # 953|-> << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl # 954| << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl # 955| << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl Error: COMPILER_WARNING (CWE-477): [#def177] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:954:133: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 954 | << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 952| << " } else {" << endl # 953| << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl # 954|-> << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl # 955| << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl # 956| << " }" << endl Error: COMPILER_WARNING (CWE-477): [#def178] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:955:80: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 955 | << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 953| << " QDBusPendingCallWatcher *watcher = new QDBusPendingCallWatcher(asyncCallWithArgumentList(callName, args));" << endl # 954| << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl # 955|-> << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl # 956| << " }" << endl # 957| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def179] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:956:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 956 | << " }" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 954| << " connect(watcher, &QDBusPendingCallWatcher::finished, this, &" << className << "::onPendingCallFinished);" << endl # 955| << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl # 956|-> << " }" << endl # 957| << "}" << endl # 958| << endl; Error: COMPILER_WARNING (CWE-477): [#def180] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:957:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 957 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 955| << " d_ptr->m_processingCalls.insert(callName, watcher);" << endl # 956| << " }" << endl # 957|-> << "}" << endl # 958| << endl; # 959| Error: COMPILER_WARNING (CWE-477): [#def181] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:958:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 958 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 956| << " }" << endl # 957| << "}" << endl # 958|-> << endl; # 959| # 960| hs << "private Q_SLOTS:" << endl Error: COMPILER_WARNING (CWE-477): [#def182] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:960:37: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 960 | hs << "private Q_SLOTS:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 958| << endl; # 959| # 960|-> hs << "private Q_SLOTS:" << endl # 961| << " void onPendingCallFinished(QDBusPendingCallWatcher *w);" << endl; # 962| Error: COMPILER_WARNING (CWE-477): [#def183] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:961:80: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 961 | << " void onPendingCallFinished(QDBusPendingCallWatcher *w);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 959| # 960| hs << "private Q_SLOTS:" << endl # 961|-> << " void onPendingCallFinished(QDBusPendingCallWatcher *w);" << endl; # 962| # 963| if (!interface->properties.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def184] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:964:100: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 964 | hs << " void onPropertyChanged(const QString &propName, const QVariant &value);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 962| # 963| if (!interface->properties.isEmpty()) # 964|-> hs << " void onPropertyChanged(const QString &propName, const QVariant &value);" << endl; # 965| # 966| hs << endl; Error: COMPILER_WARNING (CWE-477): [#def185] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:966:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 966 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 964| hs << " void onPropertyChanged(const QString &propName, const QVariant &value);" << endl; # 965| # 966|-> hs << endl; # 967| # 968| cs << "void " << className << "::onPendingCallFinished(QDBusPendingCallWatcher *w)" << endl Error: COMPILER_WARNING (CWE-477): [#def186] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:968:96: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 968 | cs << "void " << className << "::onPendingCallFinished(QDBusPendingCallWatcher *w)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 966| hs << endl; # 967| # 968|-> cs << "void " << className << "::onPendingCallFinished(QDBusPendingCallWatcher *w)" << endl # 969| << "{" << endl # 970| << " w->deleteLater();" << endl Error: COMPILER_WARNING (CWE-477): [#def187] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:969:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 969 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 967| # 968| cs << "void " << className << "::onPendingCallFinished(QDBusPendingCallWatcher *w)" << endl # 969|-> << "{" << endl # 970| << " w->deleteLater();" << endl # 971| Error: COMPILER_WARNING (CWE-477): [#def188] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:970:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 970 | << " w->deleteLater();" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 968| cs << "void " << className << "::onPendingCallFinished(QDBusPendingCallWatcher *w)" << endl # 969| << "{" << endl # 970|-> << " w->deleteLater();" << endl # 971| # 972| << " const auto callName = d_ptr->m_processingCalls.key(w);" << endl Error: COMPILER_WARNING (CWE-477): [#def189] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:972:79: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 972 | << " const auto callName = d_ptr->m_processingCalls.key(w);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 970| << " w->deleteLater();" << endl # 971| # 972|-> << " const auto callName = d_ptr->m_processingCalls.key(w);" << endl # 973| << " Q_ASSERT(!callName.isEmpty());" << endl # 974| << " if (callName.isEmpty())" << endl Error: COMPILER_WARNING (CWE-477): [#def190] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:973:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 973 | << " Q_ASSERT(!callName.isEmpty());" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 971| # 972| << " const auto callName = d_ptr->m_processingCalls.key(w);" << endl # 973|-> << " Q_ASSERT(!callName.isEmpty());" << endl # 974| << " if (callName.isEmpty())" << endl # 975| << " return;" << endl Error: COMPILER_WARNING (CWE-477): [#def191] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:974:48: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 974 | << " if (callName.isEmpty())" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 972| << " const auto callName = d_ptr->m_processingCalls.key(w);" << endl # 973| << " Q_ASSERT(!callName.isEmpty());" << endl # 974|-> << " if (callName.isEmpty())" << endl # 975| << " return;" << endl # 976| Error: COMPILER_WARNING (CWE-477): [#def192] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:975:36: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 975 | << " return;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 973| << " Q_ASSERT(!callName.isEmpty());" << endl # 974| << " if (callName.isEmpty())" << endl # 975|-> << " return;" << endl # 976| # 977| << " d_ptr->m_processingCalls.remove(callName);" << endl Error: COMPILER_WARNING (CWE-477): [#def193] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:977:67: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 977 | << " d_ptr->m_processingCalls.remove(callName);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 975| << " return;" << endl # 976| # 977|-> << " d_ptr->m_processingCalls.remove(callName);" << endl # 978| # 979| << " if (!d_ptr->m_waittingCalls.contains(callName))" << endl Error: COMPILER_WARNING (CWE-477): [#def194] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:979:72: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 979 | << " if (!d_ptr->m_waittingCalls.contains(callName))" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 977| << " d_ptr->m_processingCalls.remove(callName);" << endl # 978| # 979|-> << " if (!d_ptr->m_waittingCalls.contains(callName))" << endl # 980| << " return;" << endl # 981| Error: COMPILER_WARNING (CWE-477): [#def195] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:980:36: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 980 | << " return;" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 978| # 979| << " if (!d_ptr->m_waittingCalls.contains(callName))" << endl # 980|-> << " return;" << endl # 981| # 982| << " const auto args = d_ptr->m_waittingCalls.take(callName);" << endl Error: COMPILER_WARNING (CWE-477): [#def196] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:982:81: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 982 | << " const auto args = d_ptr->m_waittingCalls.take(callName);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 980| << " return;" << endl # 981| # 982|-> << " const auto args = d_ptr->m_waittingCalls.take(callName);" << endl # 983| << " CallQueued(callName, args);" << endl # 984| << "}" << endl; Error: COMPILER_WARNING (CWE-477): [#def197] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:983:52: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 983 | << " CallQueued(callName, args);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 981| # 982| << " const auto args = d_ptr->m_waittingCalls.take(callName);" << endl # 983|-> << " CallQueued(callName, args);" << endl # 984| << "}" << endl; # 985| Error: COMPILER_WARNING (CWE-477): [#def198] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:984:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 984 | << "}" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 982| << " const auto args = d_ptr->m_waittingCalls.take(callName);" << endl # 983| << " CallQueued(callName, args);" << endl # 984|-> << "}" << endl; # 985| # 986| // private member Error: COMPILER_WARNING (CWE-477): [#def199] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:987:29: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 987 | hs << "private:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 985| # 986| // private member # 987|-> hs << "private:" << endl # 988| << " " << className << "Private *d_ptr;" << endl; # 989| Error: COMPILER_WARNING (CWE-477): [#def200] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:988:59: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 988 | << " " << className << "Private *d_ptr;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 986| // private member # 987| hs << "private:" << endl # 988|-> << " " << className << "Private *d_ptr;" << endl; # 989| # 990| // close the class: Error: COMPILER_WARNING (CWE-477): [#def201] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:991:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 991 | hs << "};" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 989| # 990| // close the class: # 991|-> hs << "};" << endl # 992| << endl; # 993| } Error: COMPILER_WARNING (CWE-477): [#def202] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:992:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 992 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 990| // close the class: # 991| hs << "};" << endl # 992|-> << endl; # 993| } # 994| Error: COMPILER_WARNING (CWE-477): [#def203] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1014:91: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1014 | hs << QString((last.count() - j - 1 + i) * 2, QLatin1Char(' ')) << "}" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1012| // close last.arguments().count() - i namespaces: # 1013| for (int j = i; j < last.count(); ++j) # 1014|-> hs << QString((last.count() - j - 1 + i) * 2, QLatin1Char(' ')) << "}" << endl; # 1015| # 1016| // open current.arguments().count() - i namespaces Error: COMPILER_WARNING (CWE-477): [#def204] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1018:110: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1018 | hs << QString(j * 2, QLatin1Char(' ')) << "namespace " << current.at(j).toLower() << " {" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1016| // open current.arguments().count() - i namespaces # 1017| for (int j = i; j < current.count(); ++j) # 1018|-> hs << QString(j * 2, QLatin1Char(' ')) << "namespace " << current.at(j).toLower() << " {" << endl; # 1019| # 1020| // add this class: Error: COMPILER_WARNING (CWE-477): [#def205] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1024:45: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1024 | << " " << name << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1022| hs << QString(current.count() * 2, QLatin1Char(' ')) # 1023| << "typedef ::__" << classNameForInterface(it->constData()->name, Proxy) # 1024|-> << " " << name << ";" << endl; # 1025| } # 1026| Error: COMPILER_WARNING (CWE-477): [#def206] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1035:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1035 | hs << "#endif" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1033| # 1034| // close the include guard # 1035|-> hs << "#endif" << endl; # 1036| # 1037| QString mocName = moc(filename); Error: COMPILER_WARNING (CWE-477): [#def207] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1039:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1039 | cs << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1037| QString mocName = moc(filename); # 1038| if (includeMocs && !mocName.isEmpty()) # 1039|-> cs << endl # 1040| << "#include \"" << mocName << "\"" << endl; # 1041| Error: COMPILER_WARNING (CWE-477): [#def208] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1040:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1040 | << "#include \"" << mocName << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1038| if (includeMocs && !mocName.isEmpty()) # 1039| cs << endl # 1040|-> << "#include \"" << mocName << "\"" << endl; # 1041| # 1042| cs.flush(); Error: COMPILER_WARNING (CWE-477): [#def209] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp: scope_hint: In function ‘void writeAdaptor(const QString&, const QDBusIntrospection::Interfaces&)’ deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1088:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1088 | hs << "#ifndef " << includeGuard << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1086| includeGuard = QString(QLatin1String("%1")) # 1087| .arg(includeGuard); # 1088|-> hs << "#ifndef " << includeGuard << endl # 1089| << "#define " << includeGuard << endl # 1090| << endl; Error: COMPILER_WARNING (CWE-477): [#def210] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1089:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1089 | << "#define " << includeGuard << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1087| .arg(includeGuard); # 1088| hs << "#ifndef " << includeGuard << endl # 1089|-> << "#define " << includeGuard << endl # 1090| << endl; # 1091| Error: COMPILER_WARNING (CWE-477): [#def211] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1090:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1090 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1088| hs << "#ifndef " << includeGuard << endl # 1089| << "#define " << includeGuard << endl # 1090|-> << endl; # 1091| # 1092| // include our stuff: Error: COMPILER_WARNING (CWE-477): [#def212] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1093:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1093 | hs << "#include <QtCore/QObject>" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1091| # 1092| // include our stuff: # 1093|-> hs << "#include <QtCore/QObject>" << endl; # 1094| if (cppName == headerName) # 1095| hs << "#include <QtCore/QMetaObject>" << endl Error: COMPILER_WARNING (CWE-477): [#def213] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1095:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1095 | hs << "#include <QtCore/QMetaObject>" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1093| hs << "#include <QtCore/QObject>" << endl; # 1094| if (cppName == headerName) # 1095|-> hs << "#include <QtCore/QMetaObject>" << endl # 1096| << "#include <QtCore/QVariant>" << endl; # 1097| hs << "#include <QtDBus/QtDBus>" << endl; Error: COMPILER_WARNING (CWE-477): [#def214] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1096:47: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1096 | << "#include <QtCore/QVariant>" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1094| if (cppName == headerName) # 1095| hs << "#include <QtCore/QMetaObject>" << endl # 1096|-> << "#include <QtCore/QVariant>" << endl; # 1097| hs << "#include <QtDBus/QtDBus>" << endl; # 1098| Error: COMPILER_WARNING (CWE-477): [#def215] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1097:41: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1097 | hs << "#include <QtDBus/QtDBus>" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1095| hs << "#include <QtCore/QMetaObject>" << endl # 1096| << "#include <QtCore/QVariant>" << endl; # 1097|-> hs << "#include <QtDBus/QtDBus>" << endl; # 1098| # 1099| foreach (const QString &include, includes) { Error: COMPILER_WARNING (CWE-477): [#def216] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1100:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1100 | hs << "#include \"" << include << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1098| # 1099| foreach (const QString &include, includes) { # 1100|-> hs << "#include \"" << include << "\"" << endl; # 1101| if (headerName.isEmpty()) # 1102| cs << "#include \"" << include << "\"" << endl; Error: COMPILER_WARNING (CWE-477): [#def217] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1102:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1102 | cs << "#include \"" << include << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1100| hs << "#include \"" << include << "\"" << endl; # 1101| if (headerName.isEmpty()) # 1102|-> cs << "#include \"" << include << "\"" << endl; # 1103| } # 1104| Error: COMPILER_WARNING (CWE-477): [#def218] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1107:58: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1107 | cs << "#include \"" << headerName << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1105| if (cppName != headerName) { # 1106| if (!headerName.isEmpty() && headerName != QLatin1String("-")) # 1107|-> cs << "#include \"" << headerName << "\"" << endl; # 1108| # 1109| cs << "#include <QtCore/QMetaObject>" << endl Error: COMPILER_WARNING (CWE-477): [#def219] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1109:50: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1109 | cs << "#include <QtCore/QMetaObject>" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1107| cs << "#include \"" << headerName << "\"" << endl; # 1108| # 1109|-> cs << "#include <QtCore/QMetaObject>" << endl # 1110| << includeList # 1111| << endl; Error: COMPILER_WARNING (CWE-477): [#def220] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1111:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1111 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1109| cs << "#include <QtCore/QMetaObject>" << endl # 1110| << includeList # 1111|-> << endl; # 1112| hs << forwardDeclarations; # 1113| } else { Error: COMPILER_WARNING (CWE-477): [#def221] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1117:11: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1117 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1115| } # 1116| # 1117|-> hs << endl; # 1118| # 1119| QString parent = parentClassName; Error: COMPILER_WARNING (CWE-477): [#def222] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1127:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1127 | hs << "/*" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1125| # 1126| // comment: # 1127|-> hs << "/*" << endl # 1128| << " * Adaptor class for interface " << interface->name << endl # 1129| << " */" << endl; Error: COMPILER_WARNING (CWE-477): [#def223] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1128:71: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1128 | << " * Adaptor class for interface " << interface->name << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1126| // comment: # 1127| hs << "/*" << endl # 1128|-> << " * Adaptor class for interface " << interface->name << endl # 1129| << " */" << endl; # 1130| cs << "/*" << endl Error: COMPILER_WARNING (CWE-477): [#def224] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1129:24: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1129 | << " */" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1127| hs << "/*" << endl # 1128| << " * Adaptor class for interface " << interface->name << endl # 1129|-> << " */" << endl; # 1130| cs << "/*" << endl # 1131| << " * Implementation of adaptor class " << className << endl Error: COMPILER_WARNING (CWE-477): [#def225] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1130:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1130 | cs << "/*" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1128| << " * Adaptor class for interface " << interface->name << endl # 1129| << " */" << endl; # 1130|-> cs << "/*" << endl # 1131| << " * Implementation of adaptor class " << className << endl # 1132| << " */" << endl Error: COMPILER_WARNING (CWE-477): [#def226] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1131:69: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1131 | << " * Implementation of adaptor class " << className << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1129| << " */" << endl; # 1130| cs << "/*" << endl # 1131|-> << " * Implementation of adaptor class " << className << endl # 1132| << " */" << endl # 1133| << endl; Error: COMPILER_WARNING (CWE-477): [#def227] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1132:24: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1132 | << " */" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1130| cs << "/*" << endl # 1131| << " * Implementation of adaptor class " << className << endl # 1132|-> << " */" << endl # 1133| << endl; # 1134| Error: COMPILER_WARNING (CWE-477): [#def228] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1133:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1133 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1131| << " * Implementation of adaptor class " << className << endl # 1132| << " */" << endl # 1133|-> << endl; # 1134| # 1135| // class header: Error: COMPILER_WARNING (CWE-477): [#def229] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1136:75: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1136 | hs << "class " << className << ": public QDBusAbstractAdaptor" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1134| # 1135| // class header: # 1136|-> hs << "class " << className << ": public QDBusAbstractAdaptor" << endl # 1137| << "{" << endl # 1138| << " Q_OBJECT" << endl Error: COMPILER_WARNING (CWE-477): [#def230] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1137:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1137 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1135| // class header: # 1136| hs << "class " << className << ": public QDBusAbstractAdaptor" << endl # 1137|-> << "{" << endl # 1138| << " Q_OBJECT" << endl # 1139| << " Q_CLASSINFO(\"D-Bus Interface\", \"" << interface->name << "\")" << endl Error: COMPILER_WARNING (CWE-477): [#def231] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1138:33: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1138 | << " Q_OBJECT" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1136| hs << "class " << className << ": public QDBusAbstractAdaptor" << endl # 1137| << "{" << endl # 1138|-> << " Q_OBJECT" << endl # 1139| << " Q_CLASSINFO(\"D-Bus Interface\", \"" << interface->name << "\")" << endl # 1140| << " Q_CLASSINFO(\"D-Bus Introspection\", \"\"" << endl Error: COMPILER_WARNING (CWE-477): [#def232] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1139:88: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1139 | << " Q_CLASSINFO(\"D-Bus Interface\", \"" << interface->name << "\")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1137| << "{" << endl # 1138| << " Q_OBJECT" << endl # 1139|-> << " Q_CLASSINFO(\"D-Bus Interface\", \"" << interface->name << "\")" << endl # 1140| << " Q_CLASSINFO(\"D-Bus Introspection\", \"\"" << endl # 1141| << stringify(interface->introspection) Error: COMPILER_WARNING (CWE-477): [#def233] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1140:66: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1140 | << " Q_CLASSINFO(\"D-Bus Introspection\", \"\"" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1138| << " Q_OBJECT" << endl # 1139| << " Q_CLASSINFO(\"D-Bus Interface\", \"" << interface->name << "\")" << endl # 1140|-> << " Q_CLASSINFO(\"D-Bus Introspection\", \"\"" << endl # 1141| << stringify(interface->introspection) # 1142| << " \"\")" << endl Error: COMPILER_WARNING (CWE-477): [#def234] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1142:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1142 | << " \"\")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1140| << " Q_CLASSINFO(\"D-Bus Introspection\", \"\"" << endl # 1141| << stringify(interface->introspection) # 1142|-> << " \"\")" << endl # 1143| << "public:" << endl # 1144| << " " << className << "(" << parent << " *parent);" << endl Error: COMPILER_WARNING (CWE-477): [#def235] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1143:28: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1143 | << "public:" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1141| << stringify(interface->introspection) # 1142| << " \"\")" << endl # 1143|-> << "public:" << endl # 1144| << " " << className << "(" << parent << " *parent);" << endl # 1145| << " virtual ~" << className << "();" << endl Error: COMPILER_WARNING (CWE-477): [#def236] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1144:71: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1144 | << " " << className << "(" << parent << " *parent);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1142| << " \"\")" << endl # 1143| << "public:" << endl # 1144|-> << " " << className << "(" << parent << " *parent);" << endl # 1145| << " virtual ~" << className << "();" << endl # 1146| << endl; Error: COMPILER_WARNING (CWE-477): [#def237] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1145:56: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1145 | << " virtual ~" << className << "();" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1143| << "public:" << endl # 1144| << " " << className << "(" << parent << " *parent);" << endl # 1145|-> << " virtual ~" << className << "();" << endl # 1146| << endl; # 1147| Error: COMPILER_WARNING (CWE-477): [#def238] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1146:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1146 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1144| << " " << className << "(" << parent << " *parent);" << endl # 1145| << " virtual ~" << className << "();" << endl # 1146|-> << endl; # 1147| # 1148| if (!parentClassName.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def239] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1149:68: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1149 | hs << " inline " << parent << " *parent() const" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1147| # 1148| if (!parentClassName.isEmpty()) # 1149|-> hs << " inline " << parent << " *parent() const" << endl # 1150| << " { return static_cast<" << parent << " *>(QObject::parent()); }" << endl # 1151| << endl; Error: COMPILER_WARNING (CWE-477): [#def240] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1150:91: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1150 | << " { return static_cast<" << parent << " *>(QObject::parent()); }" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1148| if (!parentClassName.isEmpty()) # 1149| hs << " inline " << parent << " *parent() const" << endl # 1150|-> << " { return static_cast<" << parent << " *>(QObject::parent()); }" << endl # 1151| << endl; # 1152| Error: COMPILER_WARNING (CWE-477): [#def241] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1151:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1151 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1149| hs << " inline " << parent << " *parent() const" << endl # 1150| << " { return static_cast<" << parent << " *>(QObject::parent()); }" << endl # 1151|-> << endl; # 1152| # 1153| // constructor/destructor Error: COMPILER_WARNING (CWE-477): [#def242] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1154:81: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1154 | cs << className << "::" << className << "(" << parent << " *parent)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1152| # 1153| // constructor/destructor # 1154|-> cs << className << "::" << className << "(" << parent << " *parent)" << endl # 1155| << " : QDBusAbstractAdaptor(parent)" << endl # 1156| << "{" << endl Error: COMPILER_WARNING (CWE-477): [#def243] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1155:55: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1155 | << " : QDBusAbstractAdaptor(parent)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1153| // constructor/destructor # 1154| cs << className << "::" << className << "(" << parent << " *parent)" << endl # 1155|-> << " : QDBusAbstractAdaptor(parent)" << endl # 1156| << "{" << endl # 1157| << " // constructor" << endl Error: COMPILER_WARNING (CWE-477): [#def244] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1156:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1156 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1154| cs << className << "::" << className << "(" << parent << " *parent)" << endl # 1155| << " : QDBusAbstractAdaptor(parent)" << endl # 1156|-> << "{" << endl # 1157| << " // constructor" << endl # 1158| << " setAutoRelaySignals(true);" << endl Error: COMPILER_WARNING (CWE-477): [#def245] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1157:39: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1157 | << " // constructor" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1155| << " : QDBusAbstractAdaptor(parent)" << endl # 1156| << "{" << endl # 1157|-> << " // constructor" << endl # 1158| << " setAutoRelaySignals(true);" << endl # 1159| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def246] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1158:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1158 | << " setAutoRelaySignals(true);" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1156| << "{" << endl # 1157| << " // constructor" << endl # 1158|-> << " setAutoRelaySignals(true);" << endl # 1159| << "}" << endl # 1160| << endl Error: COMPILER_WARNING (CWE-477): [#def247] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1159:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1159 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1157| << " // constructor" << endl # 1158| << " setAutoRelaySignals(true);" << endl # 1159|-> << "}" << endl # 1160| << endl # 1161| << className << "::~" << className << "()" << endl Error: COMPILER_WARNING (CWE-477): [#def248] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1160:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1160 | << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1158| << " setAutoRelaySignals(true);" << endl # 1159| << "}" << endl # 1160|-> << endl # 1161| << className << "::~" << className << "()" << endl # 1162| << "{" << endl Error: COMPILER_WARNING (CWE-477): [#def249] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1161:58: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1161 | << className << "::~" << className << "()" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1159| << "}" << endl # 1160| << endl # 1161|-> << className << "::~" << className << "()" << endl # 1162| << "{" << endl # 1163| << " // destructor" << endl Error: COMPILER_WARNING (CWE-477): [#def250] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1162:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1162 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1160| << endl # 1161| << className << "::~" << className << "()" << endl # 1162|-> << "{" << endl # 1163| << " // destructor" << endl # 1164| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def251] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1163:38: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1163 | << " // destructor" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1161| << className << "::~" << className << "()" << endl # 1162| << "{" << endl # 1163|-> << " // destructor" << endl # 1164| << "}" << endl # 1165| << endl; Error: COMPILER_WARNING (CWE-477): [#def252] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1164:22: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1164 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1162| << "{" << endl # 1163| << " // destructor" << endl # 1164|-> << "}" << endl # 1165| << endl; # 1166| Error: COMPILER_WARNING (CWE-477): [#def253] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1165:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1165 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1163| << " // destructor" << endl # 1164| << "}" << endl # 1165|-> << endl; # 1166| # 1167| hs << "public: // PROPERTIES" << endl; Error: COMPILER_WARNING (CWE-477): [#def254] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1167:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1167 | hs << "public: // PROPERTIES" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1165| << endl; # 1166| # 1167|-> hs << "public: // PROPERTIES" << endl; # 1168| foreach (const QDBusIntrospection::Property &property, interface->properties) { # 1169| QByteArray type = qtTypeName(property.type, property.annotations); Error: COMPILER_WARNING (CWE-477): [#def255] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1179:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1179 | hs << ")" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1177| if (property.access != QDBusIntrospection::Property::Read) # 1178| hs << " WRITE " << setter; # 1179|-> hs << ")" << endl; # 1180| # 1181| // getter: Error: COMPILER_WARNING (CWE-477): [#def256] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1183:73: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1183 | hs << " " << type << " " << getter << "() const;" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1181| // getter: # 1182| if (property.access != QDBusIntrospection::Property::Write) { # 1183|-> hs << " " << type << " " << getter << "() const;" << endl; # 1184| cs << type << " " # 1185| << className << "::" << getter << "() const" << endl Error: COMPILER_WARNING (CWE-477): [#def257] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1185:68: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1185 | << className << "::" << getter << "() const" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1183| hs << " " << type << " " << getter << "() const;" << endl; # 1184| cs << type << " " # 1185|-> << className << "::" << getter << "() const" << endl # 1186| << "{" << endl # 1187| << " // get the value of property " << property.name << endl Error: COMPILER_WARNING (CWE-477): [#def258] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1186:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1186 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1184| cs << type << " " # 1185| << className << "::" << getter << "() const" << endl # 1186|-> << "{" << endl # 1187| << " // get the value of property " << property.name << endl # 1188| << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl Error: COMPILER_WARNING (CWE-477): [#def259] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1187:79: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1187 | << " // get the value of property " << property.name << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1185| << className << "::" << getter << "() const" << endl # 1186| << "{" << endl # 1187|-> << " // get the value of property " << property.name << endl # 1188| << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl # 1189| << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def260] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1188:120: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1188 | << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1186| << "{" << endl # 1187| << " // get the value of property " << property.name << endl # 1188|-> << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl # 1189| << "}" << endl # 1190| << endl; Error: COMPILER_WARNING (CWE-477): [#def261] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1189:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1189 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1187| << " // get the value of property " << property.name << endl # 1188| << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl # 1189|-> << "}" << endl # 1190| << endl; # 1191| } Error: COMPILER_WARNING (CWE-477): [#def262] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1190:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1190 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1188| << " return qvariant_cast< " << type <<" >(parent()->property(\"" << property.name << "\"));" << endl # 1189| << "}" << endl # 1190|-> << endl; # 1191| } # 1192| Error: COMPILER_WARNING (CWE-477): [#def263] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1195:76: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1195 | hs << " void " << setter << "(" << type << "value);" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1193| // setter # 1194| if (property.access != QDBusIntrospection::Property::Read) { # 1195|-> hs << " void " << setter << "(" << type << "value);" << endl; # 1196| cs << "void " << className << "::" << setter << "(" << type << "value)" << endl # 1197| << "{" << endl Error: COMPILER_WARNING (CWE-477): [#def264] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1196:92: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1196 | cs << "void " << className << "::" << setter << "(" << type << "value)" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1194| if (property.access != QDBusIntrospection::Property::Read) { # 1195| hs << " void " << setter << "(" << type << "value);" << endl; # 1196|-> cs << "void " << className << "::" << setter << "(" << type << "value)" << endl # 1197| << "{" << endl # 1198| << " // set the value of property " << property.name << endl Error: COMPILER_WARNING (CWE-477): [#def265] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1197:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1197 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1195| hs << " void " << setter << "(" << type << "value);" << endl; # 1196| cs << "void " << className << "::" << setter << "(" << type << "value)" << endl # 1197|-> << "{" << endl # 1198| << " // set the value of property " << property.name << endl # 1199| << " parent()->setProperty(\"" << property.name << "\", QVariant::fromValue(value"; Error: COMPILER_WARNING (CWE-477): [#def266] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1198:79: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1198 | << " // set the value of property " << property.name << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1196| cs << "void " << className << "::" << setter << "(" << type << "value)" << endl # 1197| << "{" << endl # 1198|-> << " // set the value of property " << property.name << endl # 1199| << " parent()->setProperty(\"" << property.name << "\", QVariant::fromValue(value"; # 1200| if (constRefType.contains(QLatin1String("QDBusVariant"))) Error: COMPILER_WARNING (CWE-477): [#def267] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1202:32: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1202 | cs << "));" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1200| if (constRefType.contains(QLatin1String("QDBusVariant"))) # 1201| cs << ".variant()"; # 1202|-> cs << "));" << endl # 1203| << "}" << endl # 1204| << endl; Error: COMPILER_WARNING (CWE-477): [#def268] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1203:30: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1203 | << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1201| cs << ".variant()"; # 1202| cs << "));" << endl # 1203|-> << "}" << endl # 1204| << endl; # 1205| } Error: COMPILER_WARNING (CWE-477): [#def269] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1204:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1204 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1202| cs << "));" << endl # 1203| << "}" << endl # 1204|-> << endl; # 1205| } # 1206| Error: COMPILER_WARNING (CWE-477): [#def270] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1207:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1207 | hs << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1205| } # 1206| # 1207|-> hs << endl; # 1208| } # 1209| Error: COMPILER_WARNING (CWE-477): [#def271] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1210:47: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1210 | hs << "public Q_SLOTS: // METHODS" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1208| } # 1209| # 1210|-> hs << "public Q_SLOTS: // METHODS" << endl; # 1211| foreach (const QDBusIntrospection::Method &method, interface->methods) { # 1212| bool isNoReply = Error: COMPILER_WARNING (CWE-477): [#def272] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1246:27: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1246 | hs << ");" << endl; // finished for header # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1244| writeArgList(cs, argNames, method.annotations, method.inputArgs, method.outputArgs); # 1245| # 1246|-> hs << ");" << endl; // finished for header # 1247| cs << ")" << endl # 1248| << "{" << endl Error: COMPILER_WARNING (CWE-477): [#def273] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1247:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1247 | cs << ")" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1245| # 1246| hs << ");" << endl; // finished for header # 1247|-> cs << ")" << endl # 1248| << "{" << endl # 1249| << " // handle method call " << interface->name << "." << methodName(method) << endl; Error: COMPILER_WARNING (CWE-477): [#def274] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1248:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1248 | << "{" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1246| hs << ");" << endl; // finished for header # 1247| cs << ")" << endl # 1248|-> << "{" << endl # 1249| << " // handle method call " << interface->name << "." << methodName(method) << endl; # 1250| Error: COMPILER_WARNING (CWE-477): [#def275] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1249:99: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1249 | << " // handle method call " << interface->name << "." << methodName(method) << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1247| cs << ")" << endl # 1248| << "{" << endl # 1249|-> << " // handle method call " << interface->name << "." << methodName(method) << endl; # 1250| # 1251| // make the call Error: COMPILER_WARNING (CWE-477): [#def276] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1261:34: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1261 | << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1259| if (!returnType.isEmpty()) # 1260| cs << " " << returnType << " " << argNames.at(method.inputArgs.count()) # 1261|-> << ";" << endl; # 1262| # 1263| static const char invoke[] = " QMetaObject::invokeMethod(parent(), \""; Error: COMPILER_WARNING (CWE-477): [#def277] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1282:31: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1282 | cs << ");" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1280| << ")"; # 1281| # 1282|-> cs << ");" << endl; # 1283| # 1284| if (!returnType.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def278] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1285:92: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1285 | cs << " return " << argNames.at(method.inputArgs.count()) << ";" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1283| # 1284| if (!returnType.isEmpty()) # 1285|-> cs << " return " << argNames.at(method.inputArgs.count()) << ";" << endl; # 1286| } else { # 1287| if (parentClassName.isEmpty()) Error: COMPILER_WARNING (CWE-477): [#def279] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1313:31: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1313 | cs << ");" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1311| } # 1312| # 1313|-> cs << ");" << endl; # 1314| } # 1315| cs << "}" << endl Error: COMPILER_WARNING (CWE-477): [#def280] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1315:26: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1315 | cs << "}" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1313| cs << ");" << endl; # 1314| } # 1315|-> cs << "}" << endl # 1316| << endl; # 1317| } Error: COMPILER_WARNING (CWE-477): [#def281] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1316:19: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1316 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1314| } # 1315| cs << "}" << endl # 1316|-> << endl; # 1317| } # 1318| Error: COMPILER_WARNING (CWE-477): [#def282] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1319:42: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1319 | hs << "Q_SIGNALS: // SIGNALS" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1317| } # 1318| # 1319|-> hs << "Q_SIGNALS: // SIGNALS" << endl; # 1320| foreach (const QDBusIntrospection::Signal &signal, interface->signals_) { # 1321| hs << " "; Error: COMPILER_WARNING (CWE-477): [#def283] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1331:27: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1331 | hs << ");" << endl; // finished for header # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1329| writeArgList(hs, argNames, signal.annotations, signal.outputArgs); # 1330| # 1331|-> hs << ");" << endl; // finished for header # 1332| } # 1333| Error: COMPILER_WARNING (CWE-477): [#def284] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1335:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1335 | hs << "};" << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1333| # 1334| // close the class: # 1335|-> hs << "};" << endl # 1336| << endl; # 1337| } Error: COMPILER_WARNING (CWE-477): [#def285] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1336:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1336 | << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1334| // close the class: # 1335| hs << "};" << endl # 1336|-> << endl; # 1337| } # 1338| Error: COMPILER_WARNING (CWE-477): [#def286] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1340:23: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1340 | hs << "#endif" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1338| # 1339| // close the include guard # 1340|-> hs << "#endif" << endl; # 1341| # 1342| QString mocName = moc(filename); Error: COMPILER_WARNING (CWE-477): [#def287] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1344:15: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1344 | cs << endl # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1342| QString mocName = moc(filename); # 1343| if (includeMocs && !mocName.isEmpty()) # 1344|-> cs << endl # 1345| << "#include \"" << mocName << "\"" << endl; # 1346| Error: COMPILER_WARNING (CWE-477): [#def288] deepin-qt-dbus-factory-6.0.1-build/dde-qt-dbus-factory-6.0.1/tools/qdbusxml2cpp/qdbusxml2cpp.cpp:1345:51: warning[-Wdeprecated-declarations]: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl # 1345 | << "#include \"" << mocName << "\"" << endl; # | ^~~~ /usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here # 293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s); # | ^~~~ # 1343| if (includeMocs && !mocName.isEmpty()) # 1344| cs << endl # 1345|-> << "#include \"" << mocName << "\"" << endl; # 1346| # 1347| cs.flush();
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-38.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | deepin-qt-dbus-factory-6.0.1-2.fc42 |
store-results-to | /tmp/tmpxbkb2qgu/deepin-qt-dbus-factory-6.0.1-2.fc42.tar.xz |
time-created | 2024-11-12 23:36:55 |
time-finished | 2024-11-12 23:41:09 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpxbkb2qgu/deepin-qt-dbus-factory-6.0.1-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxbkb2qgu/deepin-qt-dbus-factory-6.0.1-2.fc42.src.rpm' |
tool-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |