You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes the epoxy specific prototypes to be surrounded by extern "C", but not the OpenGL prototypes from include/gl_generated.h. Is this by design? It causes my C++ code to fail to link (windows, msvc 2015).
My fix was to swap the first two lines quoted above.
The text was updated successfully, but these errors were encountered:
Commit 0625a74 moved the C++ guards
after the inclusion of the generated headers, which was an unintended
behavioural change and now requires header guards around the inclusion
of Epoxy headers.
Fixes: anholt#106
Since commit 0625a74 where the EPOXY_BEGIN/END_DECLS were introduced, include/gl.h contains the lines
This causes the epoxy specific prototypes to be surrounded by extern "C", but not the OpenGL prototypes from include/gl_generated.h. Is this by design? It causes my C++ code to fail to link (windows, msvc 2015).
My fix was to swap the first two lines quoted above.
The text was updated successfully, but these errors were encountered: