All pastes #547845 Raw Edit

Someone

public c v1 · immutable
·published 2007-06-07 14:56 UTC
rendered paste body
src/libs/libGL.c:28: warning: ISO C forbids conversion of object pointer to function pointer type#define chain(name, ...) ({ \        static __typeof__(&name) next; \        if (__builtin_expect(next == NULL, 0)) \                next = (__typeof__(next)) dlsym(RTLD_NEXT, #name); \        (*next)(__VA_ARGS__); }) \void (*glXGetProcAddressARB(const GLubyte *procName)) (void){+---  5 lines: if (strcmp((char *)procName, "glXGetProcAddressARB") == 0) {-----        return chain(glXGetProcAddressARB, procName); /* <------- line 28 of src/libs/libGL.c */}