configure.ac: define WL_HIDE_DEPRECATED at global scale
authorEmil Velikov <emil.velikov@collabora.com>
Fri, 1 Sep 2017 10:51:49 +0000 (11:51 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 19 Sep 2017 18:02:34 +0000 (19:02 +0100)
commitfa6b9be22c7a85a8766a31411caafdbe1694d7dc
tree197501ccaa38f8d4f52c113c5f84d8d958304ee6
parentbe52bd17ebf114e7ad16a6d9d0135cdbb0723cd0
configure.ac: define WL_HIDE_DEPRECATED at global scale

Due to GCC feature described in previous commit, the expected
deprecation warnings may be missing.

Set the WL_HIDE_DEPRECATED macro which will omit the deprecated
functionality, resulting in more distinct build issues.

That is safe since the symbols guarded within the macro is static.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Suggested-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Acked-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Daniel Stone <daniels@collabora.com>
configure.ac
src/egl/drivers/dri2/egl_dri2.c