From: Braden M. <br...@en...> - 2006-12-08 14:44:55
|
On Fri, 2006-12-08 at 12:39 +0100, Thomas Engelmeier wrote: > On 08.12.2006, at 03:27, Braden McDaniel wrote: > > > Well, I spoke with a Mac user on IRC some weeks ago and the glu.h > > he was > > able to locate on his system did not exhibit this breakage. I don't > > know > > exactly which glu.h he found. (I thought it was the one associated > > with > > the OpenGL framework, but maybe not.) As I understand it, you can get > > one from the normal Apple OpenGL framework, one from Apple's X11, and > > one from Fink's X11. So, the question is, which header (or headers) > > are > > broken? > > In my case it is the official system header <OpenGL/glu.h> from the > 10.4.u SDK (which is identical to the 10.3.9 SDK). The X11 SDK and > fink are not installed. The copyright note in it indicates it dates > to 1999 > > gluTessCallback is declared there (identical to my 1992 red book) as > > extern void gluTessCallback (GLUtesselator* tess, GLenum which, > GLvoid (*CallBackFunc)()); Then you should not be observing this problem. (And in fact, I'd expect the patch applied for Fink to cause things to break when built against that header.) The problem is with glu.h where the declaration of gluTessCallback looks like this: void gluTessCallback(GLUtesselator* tess, GLenum which, GLvoid (*CallBackFunc)(...)); -- Braden McDaniel e-mail: <br...@en...> <http://endoframe.com> Jabber: <br...@ja...> |