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
conflict.

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-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to