[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting the following error...
From: |
Gregory Casamento |
Subject: |
Re: Getting the following error... |
Date: |
Sat, 16 Nov 2002 18:38:42 -0800 (PST) |
Committed a fix for this.
GJC
--- Gregory Casamento <greg_casamento@yahoo.com> wrote:
> Apparently, there are a number of places in the glext.h file which use "id"
> as
> a variable name. Unfortunately "id" is a reserved word under Objective-C.
>
> See below:
>
> #endif /* GL_GLEXT_PROTOTYPES */
> typedef void (APIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
> typedef void (APIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint
> *ids);
> typedef void (APIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint
> id,
> const GLfloat *params);
> .
> .
> .
>
> Later, GJC
> --- Gregory Casamento <greg_casamento@yahoo.com> wrote:
> > Compiling file raster.c ...
> > Compiling file scale.c ...
> > Compiling file xdnd.c ...
> > Compiling file xutil.c ...
> > Compiling file XGServer.m ...
> > In file included from /usr/include/GL/gl.h:2438,
> > from /usr/include/GL/glx.h:47,
> > from ../../Headers/x11/XGOpenGL.h:31,
> > from XGServer.m:50:
> > /usr/include/GL/glext.h:4033: parse error before "id"
> > /usr/include/GL/glext.h:4035: parse error before "id"
> > /usr/include/GL/glext.h:4041: parse error before "id"
> > /usr/include/GL/glext.h:4042: parse error before "id"
> > /usr/include/GL/glext.h:4048: parse error before "id"
> > /usr/include/GL/glext.h:4049: parse error before "id"
> > /usr/include/GL/glext.h:4156: parse error before "id"
> > /usr/include/GL/glext.h:4157: parse error before "id"
> > /usr/include/GL/glext.h:4206: parse error before "id"
> > /usr/include/GL/glext.h:4207: parse error before "id"
> > /usr/include/GL/glext.h:4208: parse error before "id"
> > /usr/include/GL/glext.h:4259: parse error before "id"
> > /usr/include/GL/glext.h:4261: parse error before "id"
> > /usr/include/GL/glext.h:4270: parse error before "id"
> > /usr/include/GL/glext.h:4271: parse error before "id"
> > /usr/include/GL/glext.h:4272: parse error before "id"
> > /usr/include/GL/glext.h:4273: parse error before "id"
> > /usr/include/GL/glext.h:4274: parse error before "id"
> > /usr/include/GL/glext.h:4275: parse error before "id"
> > /usr/include/GL/glext.h:4276: parse error before "id"
> > /usr/include/GL/glext.h:4277: parse error before "id"
> > /usr/include/GL/glext.h:4278: parse error before "id"
> > /usr/include/GL/glext.h:4279: parse error before "id"
> > /usr/include/GL/glext.h:4280: parse error before "id"
> > /usr/include/GL/glext.h:4281: parse error before "id"
> > /usr/include/GL/glext.h:4282: parse error before "id"
> > /usr/include/GL/glext.h:4288: parse error before "id"
> > /usr/include/GL/glext.h:4289: parse error before "id"
> > /usr/include/GL/glext.h:4290: parse error before "id"
> > /usr/include/GL/glext.h:4291: parse error before "id"
> > /usr/include/GL/glext.h:4292: parse error before "id"
> > /usr/include/GL/glext.h:4293: parse error before "id"
> > /usr/include/GL/glext.h:4294: parse error before "id"
> > /usr/include/GL/glext.h:4295: parse error before "id"
> > /usr/include/GL/glext.h:4296: parse error before "id"
> > /usr/include/GL/glext.h:4297: parse error before "id"
> > /usr/include/GL/glext.h:4298: parse error before "id"
> > make[3]: *** [shared_obj/ix86/linux-gnu/gnu-gnu-gnu/XGServer.o] Error 1
> > make[2]: *** [x11.all.subproject.variables] Error 2
> > make[2]: Leaving directory
> > `/home/heron/Development/gnustep/core/back/Source/x11'
> > make[1]: *** [libgnustep-back.all.bundle.variables] Error 2
> > make[1]: Leaving directory
> `/home/heron/Development/gnustep/core/back/Source'
> > make: *** [internal-all] Error 2
> > [heron@genoa back]$
> >
> >
> > =====
> > Gregory John Casamento
> > ------------------------------------------------------
> > Please sign the petition against software patents at:
> > http://www.petitiononline.com/pasp01/petition.html
> > ------------------------------------------------------
> > IM handles: yahoo: greg_casamento aim: gjcasa
> >
> > __________________________________________________
> > Do you Yahoo!?
> > Yahoo! Web Hosting - Let the expert host your site
> > http://webhosting.yahoo.com
> >
> >
> > _______________________________________________
> > Discuss-gnustep mailing list
> > Discuss-gnustep@gnu.org
> > http://mail.gnu.org/mailman/listinfo/discuss-gnustep
>
>
> =====
> Gregory John Casamento
> ------------------------------------------------------
> Please sign the petition against software patents at:
> http://www.petitiononline.com/pasp01/petition.html
> ------------------------------------------------------
> IM handles: yahoo: greg_casamento aim: gjcasa
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Web Hosting - Let the expert host your site
> http://webhosting.yahoo.com
>
>
> _______________________________________________
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> http://mail.gnu.org/mailman/listinfo/discuss-gnustep
=====
Gregory John Casamento
------------------------------------------------------
Please sign the petition against software patents at:
http://www.petitiononline.com/pasp01/petition.html
------------------------------------------------------
IM handles: yahoo: greg_casamento aim: gjcasa
__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com