[Mesa-dev] Mesa (master): glapi: Add API that can create a _glapi_table from a dlfcn handle

Brian Paul brianp at vmware.com
Mon Jun 13 15:13:15 PDT 2011


On 06/13/2011 03:53 PM, Jeremy Huddleston wrote:
> b44d13e67bfe81b2d7af4aeda2c3caf7f252bd0f should work for you.  Thanks for letting me know.

Another warning:


glapi_gentable.c: In function ‘_glapi_create_table_from_handle’:
glapi_gentable.c:54:9: warning: ISO C90 forbids mixed declarations and 
code
glapi_gentable.c:55:18: warning: ISO C forbids conversion of object 
pointer to f
unction pointer type
glapi_gentable.c:61:9: warning: ISO C90 forbids mixed declarations and 
code
glapi_gentable.c:62:18: warning: ISO C forbids conversion of object 
pointer to f
unction pointer type
glapi_gentable.c:68:9: warning: ISO C90 forbids mixed declarations and 
code
glapi_gentable.c:69:18: warning: ISO C forbids conversion of object 
pointer to f
unction pointer type


Need to put the _glapi_proc declaration first.

-Brian


More information about the mesa-dev mailing list