Bug 99882

Summary: DEBUG build fails with clang due to -Wformat errors
Product: xorg Reporter: Rin Okuyama <rin>
Component: Lib/otherAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: minor    
Priority: medium CC: rin
Version: gitKeywords: patch
Hardware: x86-64 (AMD64)   
OS: NetBSD   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch: avoid -Wformat errors from clang none

Description Rin Okuyama 2017-02-21 06:18:37 UTC
Created attachment 129786 [details] [review]
patch: avoid -Wformat errors from clang

Build with -DDEBUG option fails with clang due to -Wformat errors for
several libraries, namely, libXfont, libXt, libXkbui, and libXtrans.
I've tested that the patch works well both on ILP32 and LP64.

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.