[PATCH x11proto] Add X prefix to certain #define's in X.h.

Thomas Dickey dickey at his.com
Sun Jul 6 06:02:02 PDT 2014


On Sat, Jul 05, 2014 at 09:00:44PM -0600, 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.
 
sounds like (yet another) bug in Qt.

> 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 breaks a long-documented API.

-- 
Thomas E. Dickey <dickey at invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140706/1d585136/attachment.sig>


More information about the xorg-devel mailing list