Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer gstreamer
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 681
    • Issues 681
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 355
    • Merge requests 355
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamergstreamer
  • Issues
  • #279

Closed
Open
Created Mar 13, 2018 by Bugzilla Migration User@bugzilla-migration

Using GST_PLUGIN_STATIC_DECLARE in c++ code

Submitted by Sylvain Chevalier

Link to original bug (#794296)

Description

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?

Assignee
Assign to
Time tracking