clang did not like this, and it's hard to blame it:
../randr/randrstr.h:66:13: warning: redefinition of typedef 'CARD32' is a C11
feature [-Wtypedef-redefinition]
typedef XID RRLease;
^
/opt/X11/include/X11/extensions/randrproto.h:53:17: note: expanded from macro
'RRLease'
^
/opt/X11/include/X11/Xmd.h:111:23: note: previous definition is here
typedef unsigned long CARD32;
Signed-off-by: Adam Jackson <[email protected]>
---
include/X11/extensions/randrproto.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/X11/extensions/randrproto.h
b/include/X11/extensions/randrproto.h
index 712c8b5..b0fd7f0 100644
--- a/include/X11/extensions/randrproto.h
+++ b/include/X11/extensions/randrproto.h
@@ -1126,6 +1126,7 @@ typedef struct {
} xRRDeleteMonitorReq;
#define sz_xRRDeleteMonitorReq 12
+#undef RRLease
#undef RRModeFlags
#undef RRCrtc
#undef RRMode
--
2.16.2
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel