diff options
author | marha <marha@users.sourceforge.net> | 2013-01-14 15:37:02 +0100 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-01-14 15:37:02 +0100 |
commit | 7fbec6dbb6e061fe5b8c592dd602cf4b4c65155a (patch) | |
tree | dd2308d9cfdd45694f5c70aa7246ffe75a336ba5 /X11/Xlib.h | |
parent | c67a0f76ca34e441a817a7cdf261f496f3b3f2d6 (diff) | |
download | vcxsrv-7fbec6dbb6e061fe5b8c592dd602cf4b4c65155a.tar.gz vcxsrv-7fbec6dbb6e061fe5b8c592dd602cf4b4c65155a.tar.bz2 vcxsrv-7fbec6dbb6e061fe5b8c592dd602cf4b4c65155a.zip |
Synchronised files
Diffstat (limited to 'X11/Xlib.h')
-rw-r--r-- | X11/Xlib.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/X11/Xlib.h b/X11/Xlib.h index 3a73d7b83..112b85a94 100644 --- a/X11/Xlib.h +++ b/X11/Xlib.h @@ -81,6 +81,14 @@ _Xmblen( November 2000. Its presence is indicated through the following macro. */ #define X_HAVE_UTF8_STRING 1 +/* The Xlib structs are full of implicit padding to properly align members. + We can't clean that up without breaking ABI, so tell clang not to bother + complaining about it. */ +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wpadded" +#endif + typedef char *XPointer; typedef int Bool; @@ -4019,6 +4027,10 @@ extern void XFreeEventData( XGenericEventCookie* /* cookie*/ ); +#ifdef __clang__ +#pragma clang diagnostic pop +#endif + _XFUNCPROTOEND #endif /* _X11_XLIB_H_ */ |