Summary: | .pc files contain -DXOPEN_SOURCE | ||
---|---|---|---|
Product: | xorg | Reporter: | Murray Cumming <murrayc> |
Component: | Lib/Xlib | Assignee: | Jim Gettys <jg> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | high | CC: | james, luis.villa, seb128 |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Murray Cumming
2005-07-16 20:02:55 UTC
It seems that the xproto.pc file contains the flag: http://cvs.freedesktop.org/xlibs/Xproto/xproto.pc.in?view=markup Due to the way the other xlibs .pc files are written, the flag gets repeated in them too. E.g.: http://cvs.freedesktop.org/xlibs/X11/x11.pc.in?view=markup (this file should be using "Requies: xproto" to pull in the Xproto flags, but that is really another bug). If the _XOPEN_SOURCE symbol is only needed when compiling the xlibs, then it should not be included in the .pc files, since it causes compile problems for applications that use the X libraries but also use some libc symbols that get hidden when _XOPEN_SOURCE is defined. The Gnome mailing list thread in question is here: http://thread.gmane.org/gmane.comp.gnome.desktop/25131 From talking with Daniel Stone, it seems that I gave the wrong viewcvs URL. Breezy is using the xorg X libraries, which have since been fixed: http://cvs.freedesktop.org/xorg/proto/X11/xproto.pc.in?view=markup Great. So this seems to be fixed. |
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.