Make deprecation warnings work
@pq
Submitted by Pekka Paalanen Assigned to Pekka Paalanen @pq
Description
It turns out that all the deprecation warnings in e.g. wayland-server.h
are ineffective when Wayland is installed in the system instead of a prefix. This is presumably caused by GCC system headers behaviour when Wayland headers are installed in /usr/include
.
Quentin proposed the idea of installing Wayland headers in a wayland
subdirectory and having the wayland.pc
add the correct -I
flag to avoid any breakage. If that works, IMO we should do it.
Edited by Daniel Stone