|
From: James W. W. <ja...@fr...> - 2005-05-04 18:01:04
|
Jose' Cruanyes <cru...@ce...> wrote: >the problem is the definition of GLcallback in E3GeometryMesh.c and >E3Tesselate.c > >it should be for tiger >typedef GLvoid (CALLBACK * GLcallback)(...); > >instead of >typedef void (CALLBACK * GLcallback)(); How do you know that? In the Tiger framework headers, gluTessCallback is declared as extern void gluTessCallback (GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)()); no ellipsis. And why did I only get errors in E3Tesselate.c, not E3GeometryMesh.c? > >the problem is the latter doesn't compile in Tiger and the first >doesn't compile in other cases > >probably we should move the definition to GLPrefix.h, the problem >remains (how detect we're compiling with tiger? > >is a gcc4 problem or a headers one? >what if compiling with CW using the 10.4 SDK? The problem does not occur in CodeWarrior under Tiger. -- James W. Walker, ScriptPerfection Enterprises, Inc. <http://www.write-brain.com/> |