Newer glibc #define's printf which clashes with the preprocessor tricks in xf86.h. The attached patch uses __printf__ in the gcc attributes instead. The patch is in HEAD and we've been shipping it in Fedora development for a while.
Created attachment 2348 [details] [review] Patch to use __printf__ attribute instead
Comment on attachment 2348 [details] [review] Patch to use __printf__ attribute instead Nominating for 6.8.3
Sorry about the phenomenal bug spam, guys. Adding xorg-team@ to the QA contact so bugs don't get lost in future.
This looks like it's no longer applicable to master. Closing.
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.