Snippets for libksysguard 6.8.0 from Alpine x86_64
Sourced from https://build.alpinelinux.org/buildlogs/build-edge-x86_64/community/libksysguard/libksysguard-6.8.0-r0.log.
-
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:48:21: warning: ignoring return value of 'int pcap_set_timeout(pcap_t*, int)' declared with attribute 'warn_unused_result' [-Wunused-result] 48 | pcap_set_timeout(m_pcap, 500); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:49:21: warning: ignoring return value of 'int pcap_set_snaplen(pcap_t*, int)' declared with attribute 'warn_unused_result' [-Wunused-result] 49 | pcap_set_snaplen(m_pcap, 100); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:50:21: warning: ignoring return value of 'int pcap_set_promisc(pcap_t*, int)' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | pcap_set_promisc(m_pcap, 0); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:51:22: warning: ignoring return value of 'int pcap_set_datalink(pcap_t*, int)' declared with attribute 'warn_unused_result' [-Wunused-result] 51 | pcap_set_datalink(m_pcap, DLT_LINUX_SLL); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:105:15: warning: ignoring return value of 'int pcap_stats(pcap_t*, pcap_stat*)' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | pcap_stats(m_pcap, &stats); | ~~~~~~~~~~^~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/processcore/plugins/network/helper/Capture.cpp:133:14: warning: ignoring return value of 'int pcap_loop(pcap_t*, int, pcap_handler, u_char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 133 | pcap_loop(m_pcap, -1, &pcapDispatchCallback, reinterpret_cast<uint8_t *>(this)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/formatter/Formatter.cpp:478:9: warning: variable 'inputOrder' set but not used [-Wunused-but-set-variable] 478 | int inputOrder = order; | ^~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/systemstats/SensorInfo.h:32:44: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 32 | QVariant::Type variantType = QVariant::Invalid; | ^~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/systemstats/SensorInfo.h:76:43: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 76 | s.variantType = static_cast<QVariant::Type>(t); | ^~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/systemstats/SensorProperty.h:84:44: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 84 | void setVariantType(QVariant::Type type); | ^ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/systemstats/SensorProperty.cpp:164:56: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 164 | void SensorProperty::setVariantType(QVariant::Type type) | ^ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/autotests/processdatamodeltest.cpp:21:14: warning: unused variable 'tester' [-Wunused-variable] 21 | auto tester = new QAbstractItemModelTester(model); | ^~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/build/systemstats/SystemStats_autogen/EWIEGA46WW/../../../../systemstats/SensorInfo.h:32:44: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 32 | QVariant::Type variantType = QVariant::Invalid; | ^~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/build/systemstats/SystemStats_autogen/EWIEGA46WW/../../../../systemstats/SensorInfo.h:76:43: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 76 | s.variantType = static_cast<QVariant::Type>(t); | ^~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/build/systemstats/SystemStats_autogen/EWIEGA46WW/../../../../systemstats/SensorProperty.h:84:44: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 84 | void setVariantType(QVariant::Type type); | ^ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/Sensor.h:159:27: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 159 | QVariant::Type type() const; | ^~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/Sensor.cpp:161:31: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 161 | QVariant::Type Sensor::type() const | ^~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/Sensor.cpp:169:50: warning: 'QVariant::QVariant(Type)' is deprecated: Use the constructor taking a QMetaType instead. [-Wdeprecated-declarations] 169 | return QVariant{d->sensorInfo.variantType}; | ^ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/build/sensors/Sensors_autogen/EWIEGA46WW/../../../../sensors/Sensor.h:159:27: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 159 | QVariant::Type type() const; | ^~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/SensorUnitModel.cpp:104:45: warning: 'QMap<KSysGuard::Unit, UnitInfo>::iterator operator+(QMap<KSysGuard::Unit, UnitInfo>::iterator, QMap<KSysGuard::Unit, UnitInfo>::iterator::difference_type)' is deprecated: Use std::next; QMap iterators are not random access [-Wdeprecated-declarations] 104 | auto itr = d->units.begin() + index.row(); | ^ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/../systemstats/SensorInfo.h:32:44: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 32 | QVariant::Type variantType = QVariant::Invalid; | ^~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/sensors/../systemstats/SensorInfo.h:76:43: warning: 'Type' is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations] 76 | s.variantType = static_cast<QVariant::Type>(t); | ^~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/build/faces/SensorFaces_autogen/EWIEGA46WW/../../../../faces/SensorFaceController_p.h:104:37: warning: 'KLocalizedContext' is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead [-Wdeprecated-declarations] 104 | KLocalizedContext *contextObj = nullptr; | ^~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/faces/SensorFaceController_p.h:104:37: warning: 'KLocalizedContext' is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead [-Wdeprecated-declarations] 104 | KLocalizedContext *contextObj = nullptr; | ^~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/faces/SensorFaceController.cpp:396:25: warning: 'KLocalizedContext' is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead [-Wdeprecated-declarations] 396 | d->contextObj = new KLocalizedContext(this); | ^~~~~~~~~~~~~~~~~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/faces/SensorFaceController.cpp:940:42: warning: 'QVariant::Type QVariant::type() const' is deprecated: Use typeId() or metaType(). [-Wdeprecated-declarations] 940 | if (item->property().type() == QVariant::StringList) { | ~~~~~~~~~~~~~~~~~~~~~^~ -
/home/buildozer/aports/community/libksysguard/src/libksysguard-6.8.0/autotests/../faces/SensorFaceController_p.h:104:37: warning: 'KLocalizedContext' is deprecated: Since 6.8. use KLocalizedQmlContext or KLocalization::setupLocalizedContext() from KF6::I18nQml instead [-Wdeprecated-declarations] 104 | KLocalizedContext *contextObj = nullptr; | ^~~~~~~