From: Jean-Francois P. <pan...@di...> - 2001-05-17 00:22:45
|
In src/tnl/t_array_import.c, I find the following code: void _tnl_vb_bind_arrays( GLcontext *ctx, GLint start, GLsizei count ) { ... if (0) { fprintf(stderr, "%s %d..%d // %d..%d\n", __FUNCTION__, start, count, ctx->Array.LockFirst, ctx->Array.LockCount); _tnl_print_vert_flags(" inputs", inputs); _tnl_print_vert_flags(" _Enabled", ctx->Array._Enabled); _tnl_print_vert_flags(" importable", inputs & VERT_FIXUP); } __FUNCTION__ seems to be a gcc-ism (although I can't find a reference to this in the gcc info documentation), and the SGI MIPSpro C compiler barfs on it. #if 0-ing the offending code fixes the problem for me. JF |