| Summary: | PyFalkon compilation fails with clang 9.0.0 (return type c linkage) | ||
|---|---|---|---|
| Product: | [Applications] Falkon | Reporter: | Chris Hills <chaz> |
| Component: | general | Assignee: | David Rosca <nowrep> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/falkon/bfb9420cbb8e248ba8452964f804a071ac151cda | Version Fixed/Implemented In: | 3.1.1 |
| Sentry Crash Report: | |||
Git commit bfb9420cbb8e248ba8452964f804a071ac151cda by David Rosca. Committed on 31/10/2019 at 09:37. Pushed by drosca into branch 'Falkon/3.1'. PyFalkon: Fix C linkage issues FIXED-IN: 3.1.1 M +7 -4 src/lib/plugins/plugins.cpp M +10 -14 src/plugins/PyFalkon/pythonplugin.cpp M +2 -2 src/plugins/PyFalkon/pythonplugin.h https://commits.kde.org/falkon/bfb9420cbb8e248ba8452964f804a071ac151cda |
In file included from src/plugins/PyFalkon/pythonplugin.cpp:18: src/plugins/PyFalkon/pythonplugin.h:24:42: error: 'pyfalkon_load_plugin' has C-linkage specified, but returns user-defined type 'Plugins::Plugin' which is incompatible with C [-Werror,-Wreturn-type-c-linkage] extern "C" Q_DECL_EXPORT Plugins::Plugin pyfalkon_load_plugin(const QString &name); ^ src/plugins/PyFalkon/pythonplugin.h:26:51: error: 'pyfalkon_load_available_plugins' has C-linkage specified, but returns incomplete type 'QVector<Plugins::Plugin>' which could be incompatible with C [-Werror,-Wreturn-type-c-linkage] extern "C" Q_DECL_EXPORT QVector<Plugins::Plugin> pyfalkon_load_available_plugins();