Playing around with CFLAGS="-Wall -Werror", I hit the following warning, from the -pedantic flag set by configure.ac, promoted to an error: libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -pedantic -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wnested-externs -Wall -Werror -MT dri2.lo -MD -MP -MF .deps/dri2.Tpo -c dri2.c -fPIC -DPIC -o .libs/dri2.o cc1: warnings being treated as errors dri2.c: In function ‘xcb_dri2_connect_alignment_pad’: dri2.c:332: error: invalid application of ‘sizeof’ to a void type dri2.c:332: error: invalid application of ‘sizeof’ to a void type make[2]: *** [dri2.lo] Error 1
Does the patch from http://lists.freedesktop.org/archives/xcb/2010-December/006701.html fix the problem for you?
It seems to build fine now, thanks.
Pushed as c2e023646298da05e212056fbc6b329e4dd9a100 Thanks for testing.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.