[vlc-devel] Callbacks in modules written in C++ have wrong linkage

Filip Roséen filip at atch.se
Mon Feb 22 21:08:41 CET 2016


  In order for these changes to make sense one must also patch
  the headers where the callback-types are declared so that they have C
  linkage when being compiled as C++.

  The typical `#ifdef __cplusplus` + `extern "C"` justifies.


On 16/02/22 19:53, Filip Roséen wrote:

> I spent some time coming up with a draft-patch that fixes the issues described
> in the earlier post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20160222/0765567a/attachment.html>

More information about the vlc-devel mailing list