Bug 17946

Summary: patches to avoid gcc warnings for libX11
Product: xorg Reporter: Peter Breitenlohner <peb>
Component: Lib/XlibAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: janitor, patch
Version: 7.3 (2007.09)   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch to avoid gcc warning for libX11 (V 1.1.5): redefined
none
patch to avoid gcc warning for libX11 (V 1.1.5): missing newline
none
patch to avoid gcc warning for libX11 (V 1.1.5): discards qualifiers
none
patch to avoid gcc warning for libX11 (V 1.1.5): discards qualifiers
none
patch to avoid gcc warning for libX11 (V 1.1.5): incompatible pointer type none

Description Peter Breitenlohner 2008-10-07 08:27:12 UTC
Created attachment 19439 [details] [review]
patch to avoid gcc warning for libX11 (V 1.1.5): redefined

Attached are five small patches to avoid various gcc warnings for libX11 (V 1.1.5), each patch starting with a short comment

Some of the warnings actually point to the problem that two of the manpages are incomplete (probably truncated).
Comment 1 Peter Breitenlohner 2008-10-07 08:29:27 UTC
Created attachment 19440 [details] [review]
patch to avoid gcc warning for libX11 (V 1.1.5): missing newline

Two of these warnings are actually due to truncated (or otherwise incomplete) manpages
Comment 2 Peter Breitenlohner 2008-10-07 08:31:11 UTC
Created attachment 19441 [details] [review]
patch to avoid gcc warning for libX11 (V 1.1.5): discards qualifiers
Comment 3 Peter Breitenlohner 2008-10-07 08:31:42 UTC
Created attachment 19442 [details] [review]
patch to avoid gcc warning for libX11 (V 1.1.5): discards qualifiers
Comment 4 Peter Breitenlohner 2008-10-07 08:32:32 UTC
Created attachment 19443 [details] [review]
patch to avoid gcc warning for libX11 (V 1.1.5): incompatible pointer type
Comment 5 Paulo César Pereira de Andrade 2009-01-29 15:00:35 UTC
Thanks for the patches.

Corrections just pushed to git master.

Attachment #19442 [details] was already applied (by me) on
another batch of bug fixes.

About the question in attachment #19443 [details] [review] (I am no
expert :-) but type Xim has the private field
(named "private" of type XIMPrivateRec, while XIM
doesn't.

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.