[PATCH x11proto] Add X prefix to certain #define's in X.h.
alan.coopersmith at oracle.com
Sun Jul 6 07:55:34 PDT 2014
On 07/ 5/14 08:00 PM, Axel Rasmussen wrote:
> The GrayScale define in X.h conflicts with the name of an enum member in
> the Qt library's QtGui/qpixelformat.h, such that including both headers
> would result in a compile error.
> This commit adds an X prefix to the GrayScale define, as well as certain
> other defines related to it (for consistency) to avoid this naming
That needs to be fixed in Qt then - we're not going to break 25+ years worth
of X applications because someone came along years later and misused the name.
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg-devel