[PATCH weston] xwayland: Move includes to avoid deprecation warnings

Daniel Stone daniel at fooishbar.org
Tue Nov 1 17:03:41 UTC 2016


On 1 November 2016 at 16:55, Yong Bakos <junk at humanoriented.com> wrote:
> On Oct 31, 2016, at 7:53 AM, Daniel Stone <daniels at collabora.com> wrote:
>> compositor.h already helpfully defines WL_HIDE_DEPRECATED for us, so we
>> don't get warnings about wl_buffer (in particular) being deprecated when
>> we have wayland-server headers defining it as deprecated, and then
>> wayland-client headers using the type.
>>
>> Move it to be before all our other includes, so we actually make use of
>> it.
>>
>> Signed-off-by: Daniel Stone <daniels at collabora.com>
>
> This reordering seems harmless, and squelches the deprecation warning during compilation.
>
> Reviewed-by: Yong Bakos <ybakos at humanoriented.com>
> Tested-by: Yong Bakos <ybakos at humanoriented.com>

Thanks Yong!

To ssh://git.freedesktop.org/git/wayland/weston
   5b01596..67fe3db  push -> master

Cheers,
Daniel


More information about the wayland-devel mailing list