Bug 1431994 - Missing extern "C" around epoxy/gl_generated.h
Summary: Missing extern "C" around epoxy/gl_generated.h
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libepoxy
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-14 09:10 UTC by Stephan Bergmann
Modified: 2017-08-01 21:56 UTC (History)
1 user (show)

Fixed In Version: libepoxy-1.4.3-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 21:56:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github anholt libepoxy issues 106 0 None None None 2017-03-14 09:10:31 UTC

Description Stephan Bergmann 2017-03-14 09:10:32 UTC
Upstream issue is <https://github.com/anholt/libepoxy/issues/106> "gl prototypes aren't surrounded by extern "C" and so fail to link to c++ code", but the fix <https://github.com/anholt/libepoxy/commit/7d58fd3d47d2d69f2b1b9f08325302e4eeff9ebe> "Merge pull request #107 from anholt/issue-106: Add C++ guards around generated headers" is only on master, not on 1.4.1, so is missing from libepoxy-devel-1.4.1-1.fc25.

Would be great if that fix could be backported to F25.

(We noticed when doing development builds of LibreOffice, which has a Clang plugin to emit additional warnings about the code.  That plugin suppresses some false positives based on whether extern "C" functions are involved, and so started to fail and emit false positive warnings now.)

Comment 1 Fedora Update System 2017-07-27 14:51:50 UTC
libepoxy-1.4.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-842bdbd2da

Comment 2 Fedora Update System 2017-07-28 22:19:38 UTC
libepoxy-1.4.3-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-842bdbd2da

Comment 3 Fedora Update System 2017-08-01 21:56:09 UTC
libepoxy-1.4.3-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.