[Mesa-dev] [Bug 96770] include/GL/mesa_glinterop.h:62: error: redefinition of typedef ‘GLXContext’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jul 5 11:39:09 UTC 2016


--- Comment #1 from Emil Velikov <emil.l.velikov at gmail.com> ---
Yay, I broke things ;-)

There's a couple of routes we can take:
 - Bring back the EGL/GLX includes - I would strongly advice against that.
 - guard the typedefs with ifdef macros - fragile, we'll also need to ensure
that the header is included after the EGL/GLX ones.
 - opencode/replaces the existing typedefs with the respective original types -
a tad nasty, yet it seems like the better option.
 - other ?

Vinson, let me know which one you'd prefer and I'll whip a patch... Unless you
beat me to it.

You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160705/9454efb8/attachment.html>

More information about the mesa-dev mailing list