glLoadGen generates macros for WGL headers conflicting with typedefs in GL headers

Issue #85 new
Anonymous created an issue

GL header generator invocation: LoadGen.lua -version 4.5 -profile core -style noload_c -extfile extfiles/gl_ubiquitous.txt core45

WGL header generator invocation: LoadGen.lua -style noload_c -spec wgl ext -extfile extfiles/wgl_common.txt

The latter generates the following macro

#define GLvoid void

This conflicts with the proper typedef in the GL header, leading to "void void" type declarations after macro expansion. Replacing the macro with the corresponding typedef in the WGL header solves the problem.

Comments (0)

  1. Log in to comment