Summary: | kdelibs-4.14.38/dnssd/servicemodel.cpp compile error | ||
---|---|---|---|
Product: | [I don't know] kde | Reporter: | Henry Pfeil <hpfeil> |
Component: | general | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | CC: | wbauer1 |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Slackware | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Patch fixes servicemodel compile error |
kdelibs4 is no longer maintained, sorry. Btw, this was fixed in KDE Frameworks5 (kdnssd) 6 years ago, in a different way: https://invent.kde.org/frameworks/kdnssd/-/commit/80b43aaae27cfdf543483cd55d9012e37219350a |
Created attachment 129049 [details] Patch fixes servicemodel compile error SUMMARY servicemodel.cpp:90:7: error: narrowing conversion of ‘DNSSD::ServiceModel::ServicePtrRole’ from ‘unsigned int’ to ‘int’ FIX: servicemodel.h:71 - change ServicePtrRole assignment from unsigned int to int ServicePtrRole = static_cast<int>(0xA06519DE) STEPS TO REPRODUCE 1. g++ -o servicemodel.o servicemodel.cpp --> compile error 2. change ServicePtrRole assignment from unsigned int to int 3. kdelibs-4.14.38 builds with no errors SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel 5.4.44 KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.70.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION - See Attachment