Skip to content

Instantly share code, notes, and snippets.

@jjgod
Created May 16, 2014 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jjgod/bbf9d3bfc6a2a1f5110a to your computer and use it in GitHub Desktop.
Save jjgod/bbf9d3bfc6a2a1f5110a to your computer and use it in GitHub Desktop.
In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:10:
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2765:13: error: conflicting types for 'GLES2TexImage2D'
extern void glTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
^
../../gpu/GLES2/gl2chromium_autogen.h:124:22: note: expanded from macro 'glTexImage2D'
#define glTexImage2D GLES2_GET_FUN(TexImage2D)
^
../../gpu/GLES2/gl2chromium.h:22:29: note: expanded from macro 'GLES2_GET_FUN'
#define GLES2_GET_FUN(name) GLES2 ## name
^
<scratch space>:23:1: note: expanded from here
GLES2TexImage2D
^
../../third_party/khronos/GLES2/gl2.h:483:29: note: previous declaration is here
GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
^
../../gpu/GLES2/gl2chromium_autogen.h:124:22: note: expanded from macro 'glTexImage2D'
#define glTexImage2D GLES2_GET_FUN(TexImage2D)
^
../../gpu/GLES2/gl2chromium.h:22:29: note: expanded from macro 'GLES2_GET_FUN'
#define GLES2_GET_FUN(name) GLES2 ## name
^
<scratch space>:178:1: note: expanded from here
GLES2TexImage2D
^
In file included from ../../third_party/WebKit/Source/web/WebPluginContainerImpl.cpp:54:
In file included from ../../third_party/WebKit/Source/bindings/v8/V8NPObject.h:34:
In file included from ../../third_party/npapi/bindings/npruntime.h:37:
In file included from ../../third_party/npapi/bindings/npapi.h:105:
In file included from /Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Headers/OpenGL.h:10:
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:2973:13: error: conflicting types for 'GLES2ShaderSource'
extern void glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length);
^
../../gpu/GLES2/gl2chromium_autogen.h:115:24: note: expanded from macro 'glShaderSource'
#define glShaderSource GLES2_GET_FUN(ShaderSource)
^
../../gpu/GLES2/gl2chromium.h:22:29: note: expanded from macro 'GLES2_GET_FUN'
#define GLES2_GET_FUN(name) GLES2 ## name
^
<scratch space>:23:1: note: expanded from here
GLES2ShaderSource
^
../../third_party/khronos/GLES2/gl2.h:476:29: note: previous declaration is here
GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
^
../../gpu/GLES2/gl2chromium_autogen.h:115:24: note: expanded from macro 'glShaderSource'
#define glShaderSource GLES2_GET_FUN(ShaderSource)
^
../../gpu/GLES2/gl2chromium.h:22:29: note: expanded from macro 'GLES2_GET_FUN'
#define GLES2_GET_FUN(name) GLES2 ## name
^
<scratch space>:171:1: note: expanded from here
GLES2ShaderSource
^
2 errors generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment