Skip to content

Instantly share code, notes, and snippets.

@jjgod
Created July 17, 2013 20:41
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/6024281 to your computer and use it in GitHub Desktop.
Save jjgod/6024281 to your computer and use it in GitHub Desktop.
clang -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=x86-64 -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -Ilibdvdread4 -mdynamic-no-pic -mmacosx-version-min=10.6 -fpie -DPIC -I/usr/local/Cellar/freetype/2.4.11/include/freetype2 -I/usr/local/Cellar/freetype/2.4.11/include -Wall -c -o libvo/vo_corevideo.o libvo/vo_corevideo.m
libvo/vo_corevideo.m:469:2: warning: implicit declaration of function 'glEnable' is invalid in C99 [-Wimplicit-function-declaration]
glEnable(GL_BLEND);
^
libvo/vo_corevideo.m:469:11: error: use of undeclared identifier 'GL_BLEND'
glEnable(GL_BLEND);
^
libvo/vo_corevideo.m:470:2: warning: implicit declaration of function 'glDisable' is invalid in C99 [-Wimplicit-function-declaration]
glDisable(GL_DEPTH_TEST);
^
libvo/vo_corevideo.m:470:12: error: use of undeclared identifier 'GL_DEPTH_TEST'
glDisable(GL_DEPTH_TEST);
^
libvo/vo_corevideo.m:471:2: warning: implicit declaration of function 'glDepthMask' is invalid in C99 [-Wimplicit-function-declaration]
glDepthMask(GL_FALSE);
^
libvo/vo_corevideo.m:471:14: error: use of undeclared identifier 'GL_FALSE'
glDepthMask(GL_FALSE);
^
libvo/vo_corevideo.m:472:12: error: use of undeclared identifier 'GL_CULL_FACE'
glDisable(GL_CULL_FACE);
^
libvo/vo_corevideo.m:485:2: warning: implicit declaration of function 'glViewport' is invalid in C99 [-Wimplicit-function-declaration]
glViewport(0, 0, vo_dwidth, vo_dheight);
^
libvo/vo_corevideo.m:486:2: warning: implicit declaration of function 'glMatrixMode' is invalid in C99 [-Wimplicit-function-declaration]
glMatrixMode(GL_PROJECTION);
^
libvo/vo_corevideo.m:486:15: error: use of undeclared identifier 'GL_PROJECTION'
glMatrixMode(GL_PROJECTION);
^
libvo/vo_corevideo.m:487:2: warning: implicit declaration of function 'glLoadIdentity' is invalid in C99 [-Wimplicit-function-declaration]
glLoadIdentity();
^
libvo/vo_corevideo.m:488:2: warning: implicit declaration of function 'glOrtho' is invalid in C99 [-Wimplicit-function-declaration]
glOrtho(0, vo_dwidth, vo_dheight, 0, -1.0, 1.0);
^
libvo/vo_corevideo.m:489:15: error: use of undeclared identifier 'GL_MODELVIEW'
glMatrixMode(GL_MODELVIEW);
^
libvo/vo_corevideo.m:507:2: warning: implicit declaration of function 'glClear' is invalid in C99 [-Wimplicit-function-declaration]
glClear(GL_COLOR_BUFFER_BIT);
^
libvo/vo_corevideo.m:507:10: error: use of undeclared identifier 'GL_COLOR_BUFFER_BIT'
glClear(GL_COLOR_BUFFER_BIT);
^
libvo/vo_corevideo.m:510:2: warning: implicit declaration of function 'glBindTexture' is invalid in C99 [-Wimplicit-function-declaration]
glBindTexture(CVOpenGLTextureGetTarget(texture), CVOpenGLTextureGetName(texture));
^
libvo/vo_corevideo.m:512:2: warning: implicit declaration of function 'glColor3f' is invalid in C99 [-Wimplicit-function-declaration]
glColor3f(1,1,1);
^
libvo/vo_corevideo.m:513:2: warning: implicit declaration of function 'glBegin' is invalid in C99 [-Wimplicit-function-declaration]
glBegin(GL_QUADS);
^
libvo/vo_corevideo.m:513:10: error: use of undeclared identifier 'GL_QUADS'
glBegin(GL_QUADS);
^
libvo/vo_corevideo.m:514:2: warning: implicit declaration of function 'glTexCoord2f' is invalid in C99 [-Wimplicit-function-declaration]
glTexCoord2f(upperLeft[0], upperLeft[1]); glVertex2i( textureFrame.origin.x-(vo_panscan_x >> 1), textureFrame.origin.y-(vo_panscan_y >> 1));
^
libvo/vo_corevideo.m:514:44: warning: implicit declaration of function 'glVertex2i' is invalid in C99 [-Wimplicit-function-declaration]
glTexCoord2f(upperLeft[0], upperLeft[1]); glVertex2i( textureFrame.origin.x-(vo_panscan_x >> 1), textureFrame.origin.y-(vo_panscan_y >> 1));
^
libvo/vo_corevideo.m:518:2: warning: implicit declaration of function 'glEnd' is invalid in C99 [-Wimplicit-function-declaration]
glEnd();
^
libvo/vo_corevideo.m:526:11: error: use of undeclared identifier 'GL_LINES'
glBegin(GL_LINES);
^
libvo/vo_corevideo.m:527:3: warning: implicit declaration of function 'glColor4f' is invalid in C99 [-Wimplicit-function-declaration]
glColor4f(0.2, 0.2, 0.2, 0.5);
^
libvo/vo_corevideo.m:544:2: warning: implicit declaration of function 'glFlush' is invalid in C99 [-Wimplicit-function-declaration]
glFlush();
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment