Bug 171368
Summary: | Modular libX11 compiler warnings should be fixed for X11R7 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike A. Harris <mharris> | ||||
Component: | libX11 | Assignee: | X/OpenGL Maintenance List <xgl-maint> | ||||
Status: | CLOSED WONTFIX | QA Contact: | David Lawrence <dkl> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-06-06 08:56:03 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 150223 | ||||||
Attachments: |
|
Description
Mike A. Harris
2005-10-21 09:21:56 UTC
Host.c, imDefIm.c and imTrX.c can be "fixed" by adding " = 0" to the variable declarations. The warning appears to be a false positive in both cases, however. ConnDis.c needs one function declaration ANSI-fied. The two "redefined" warnings can be fixed by removing " -DX11_t -DTRANS_CLIENT" from the CFLAGS in Makefile.am (in Makefile.in for an rpm package patch if it comes to that). The offending lines in OpenDis.c can be rewritten as (void) fprintf (stderr, "%.*s\r\n", (int)prefix.lengthReason, u.failure); I'm not seeing the warning(s) from imLcPrs.c or lcGeneric.c, need to look and see if I build with different configure options. lcFile.c needs to be built with -D_GNU_SOURCE to get the getres[ug]id prototypes from unistd.h, and have the include of same uncommented at the top of the file. That or simply ignore getresuid altogether. It's found by configure by linking with the lib directly IIRC, but isn't declared when this is build because of the absence of GNU_SOURCE define. Created attachment 121165 [details]
OK, apparently I need a description. So much for choosing sensible filenames ;)
I think we should manage these sort of bugs in X.Org bugzilla instead of here, as they're more likely to sit and rot for a long time here, and they're relevant to all X distributions. Closing WONTFIX, as there's no real problem caused by this, however if it's still present, it should probably be fixed upstream as part of a major code cleanup to remove warnings, etc. upstream. |