Summary: | Duplicate symbol linker error under clang/macOS | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Dawid Wróbel <me> |
Component: | general | Assignee: | KIO Bugs <kio-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | a.samirh78, faure, kdelibs-bugs, vkrause |
Priority: | NOR | ||
Version: | 5.75.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | macOS | ||
Latest Commit: | https://invent.kde.org/frameworks/kio/commit/eaa2729e17a15261f41599ad8c47124b486e4319 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | vcpkg build output |
Description
Dawid Wróbel
2020-11-07 21:49:50 UTC
Might be related to the friend declarations in src/core/ksslcertificatemanager.h .. not sure though. I thought so, too, but I commented all that code and the references to befriended private members elsewhere, but still seeing the same issue. Does adding `inline` to those operators help? It obviously does, I don't know why I didn't think about it! @Volker, has this been fixed? (does it need fixing?) I didn't submit this change (I was just guessing, I don't even have it locally), but it sounds like we should add it indeed. A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/563 Git commit eaa2729e17a15261f41599ad8c47124b486e4319 by Dawid Wróbel. Committed on 30/08/2021 at 20:23. Pushed by wrobelda into branch 'master'. Inline kssld operators to avoid duplicate symbol errors M +6 -6 src/core/kssld_dbusmetatypes.h https://invent.kde.org/frameworks/kio/commit/eaa2729e17a15261f41599ad8c47124b486e4319 |