Summary: | include ordering in libX11 is wrong, system headers should have higher priority than local headers | ||
---|---|---|---|
Product: | xorg | Reporter: | Albert Zeyer <albzey> |
Component: | Lib/Xlib | Assignee: | Xorg Project Team <xorg-team> |
Status: | RESOLVED FIXED | QA Contact: | Xorg Project Team <xorg-team> |
Severity: | normal | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Albert Zeyer
2008-09-15 10:37:15 UTC
On Mon, Sep 15, 2008 at 10:37:16 -0700, bugzilla-daemon@freedesktop.org wrote: > The problem is related to my case insensitive filesystem. > Don't do that, then. Looking for headers in the build directory before the system ones sounds right to me. (In reply to comment #1) > On Mon, Sep 15, 2008 at 10:37:16 -0700, bugzilla-daemon@freedesktop.org wrote: > > > The problem is related to my case insensitive filesystem. > > > Don't do that, then. Looking for headers in the build directory before > the system ones sounds right to me. > You mean that Xorg does just not support case insensitive filesystems officially? Because beside this problem (that Xlocale.h is used instead of the system header xlocale.h), everything works fine. It would seem — at least in theory — that <string.h> should be including <xlocal.h> and whatever looks for Xlocale.h should be using <X11/Xlocale.h>. And, in fact, everything in the libX11 tree does just that. So, one question then is whether we need to have -I../include/X11 et al in CFLAGS? Does anyone want to check whether the libX11 src ever #includes a file in its include/X11 dir without specifying it as <X11/foo.h> or "X11/foo.h"? I build on case insensitive file systems all the time, so I believe this is fixed. If you still think this is an issue, please reopen and assign to me with more information. |
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.