[Mesa-dev] glx / xcb versioning

Brian Paul brianp at vmware.com
Mon Jan 2 14:34:45 PST 2012


Ian,

I'm getting some warnings/errors with the latest GLX changes:

clientinfo.c: In function ‘__glX_send_client_info’:
clientinfo.c:128:7: warning: implicit declaration of function 
‘xcb_glx_set_client_info_2arb’
clientinfo.c:139:7: warning: implicit declaration of function 
‘xcb_glx_set_client_info_arb’

[...]

create_context.c: In function ‘glXCreateContextAttribsARB’:
create_context.c:98:7: warning: implicit declaration of function 
‘xcb_glx_create_context_attribs_arb_checked’
create_context.c:97:11: error: incompatible types when assigning to 
type ‘xcb_void_cookie_t’ from type ‘int’


My xcb/glx.h header isn't the latest version so it doesn't have your 
recent create-context additions.

Can we add some #ifdefs to the code to fix this?

I grabbed the latest xcb/proto from git but I haven't figured out how 
to generate the glx.h header yet.  Any tips?

-Brian


More information about the mesa-dev mailing list