[Bug 794296] New: Using GST_PLUGIN_STATIC_DECLARE in c++ code

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 13 16:12:37 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=794296

            Bug ID: 794296
           Summary: Using GST_PLUGIN_STATIC_DECLARE in c++ code
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sylvain.chevalier at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The GST_PLUGIN_STATIC_DECLARE macro must be wrapped inside an extern "C" block
when building in C++ as it resolved in a function declaration whose
implementation is in C.

As this is not obvious (at least it was not obvious to me), should it be
documented, or maybe better yet, improved in the macro itself?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list