[PATCH] clients/stacking: Silence a compiler warning

2016-09-10 Thread Armin Krezović
clang doesn't support gnu_print attribute, so just leave it out when clang is used. Signed-off-by: Armin Krezović --- clients/stacking.c | 4 1 file changed, 4 insertions(+) diff --git a/clients/stacking.c b/clients/stacking.c index 4285a17..dd3d338 100644 --- a/clients/stacking.c +++ b/cl

[PATCH] RFC, weston: Use eglGetProcAddress to retrieve GLESv2 functions

2016-09-10 Thread Armin Krezović
It appears that in current Mesa git master, GLESv2 function prototypes are hidden. Per Emil's suggestion on [1], use eglGetProcAdddress to get the functions and update the code to use such functions. [1] https://patchwork.freedesktop.org/patch/108369/ Signed-off-by: Armin Krezović --- clients/

[PATCH] libweston-desktop: Fix some clang warnings

2016-09-10 Thread Armin Krezović
Fixes: implicit conversion from enumeration type '...' to different enumeration type '...' [-Wenum-conversion] Signed-off-by: Armin Krezović --- libweston-desktop/wl-shell.c | 4 +++- libweston-desktop/xdg-shell-v5.c | 4 +++- libweston-desktop/xdg-shell-v6.c | 4 +++- 3 files changed, 9 in