| Summary: | When compiling statically: 'KCrash::defaultCrashHandler': redefinition; different linkage | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kcrash | Reporter: | Dawid Wróbel <me> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | kdelibs-bugs-null |
| Priority: | NOR | ||
| Version First Reported In: | 5.84.0 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | https://invent.kde.org/frameworks/kcoreaddons/commit/5d5834d86e2890e3baeafdc9bd06849496d7fc98 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Dawid Wróbel
2021-07-30 10:40:18 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcoreaddons/-/merge_requests/122 Git commit 5d5834d86e2890e3baeafdc9bd06849496d7fc98 by Nicolas Fella. Committed on 09/08/2021 at 22:00. Pushed by nicolasfella into branch 'master'. Fix issue when building KCrash static KCoreAddons forward declares a function from KCrash. It contains a Q_DECL_IMPORT but that breaks when doing a static build. Only add the Q_DECL_IMPORT when we are doing a dynamic build. M +4 -0 src/lib/CMakeLists.txt M +4 -0 src/lib/kaboutdata.h https://invent.kde.org/frameworks/kcoreaddons/commit/5d5834d86e2890e3baeafdc9bd06849496d7fc98 |