Error in GetGLVersion()

Create issue
Issue #56 on hold
Former user created an issue

With GCC 4.8 you get a compilation error in GetGLVersion(). This is because glGetString returns an unsigned char , while ParseVersionFromString() expect a char. In GCC char is signed char, hence the error.

Comments (1)

  1. Jason McKesson repo owner

    Which generation style are you using? When I use the 'func_cpp' style, I get an explicit cast to const char * when calling ParseVersionFromString from GetGLVersion.

  2. Log in to comment