This is really a bug in mesa. glShaderSource is defined in the spec like so:
void glShaderSource( GLuint shader, GLsizei count, const GLchar **string, const GLint *length); But in newer versions they've changed it to: GL_APICALL void GL_APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const* string, const GLint* length); That's incorrect. ** Bug watch added: freedesktop.org Bugzilla #59013 https://bugs.freedesktop.org/show_bug.cgi?id=59013 ** Also affects: mesa via https://bugs.freedesktop.org/show_bug.cgi?id=59013 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of compiz packagers, which is subscribed to compiz in Ubuntu. https://bugs.launchpad.net/bugs/1095915 Title: opengl plugin FTBFS with clang To manage notifications about this bug go to: https://bugs.launchpad.net/compiz/+bug/1095915/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~compiz Post to : compiz@lists.launchpad.net Unsubscribe : https://launchpad.net/~compiz More help : https://help.launchpad.net/ListHelp