https://bugs.kde.org/show_bug.cgi?id=413093

            Bug ID: 413093
           Summary: PyFalkon compilation fails with clang 9.0.0 (return
                    type c linkage)
           Product: Falkon
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: c...@chaz6.com
  Target Milestone: ---

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();

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to