xserver/hw
Adam Jackson c3147a2006 dmx: Fix decl mismatch for XRT_WINDOW
Building xserver with meson -Db_lto=true found this! Check it:

../hw/dmx/dmx.c:66:22: warning: type of ‘XRT_WINDOW’ does not match
                                original declaration [-Wlto-type-mismatch]
 extern unsigned long XRT_WINDOW;
                      ^
../include/resource.h:58:18: note: type ‘RESTYPE’ should match type ‘long
                                   unsigned int’
 typedef uint32_t RESTYPE;
                  ^
../Xext/panoramiX.c:85:9: note: ‘XRT_WINDOW’ was previously declared here
 RESTYPE XRT_WINDOW;
         ^
../Xext/panoramiX.c:85:9: note: code may be misoptimized unless
                                -fno-strict-aliasing is used

I have never managed successfully to build xserver with LTO with
autotools, so, score one for meson.

Get the decl from panoramiXsrv.h, which includes panoramiX.h first anyway.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2017-05-03 15:44:04 -04:00
..
dmx dmx: Fix decl mismatch for XRT_WINDOW 2017-05-03 15:44:04 -04:00
kdrive Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
vfb Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xfree86 meson: use link_with for Xorg's shared modules as well as Xorg. 2017-05-03 14:52:19 -04:00
xnest Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xquartz Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
xwayland xwayland: add tablet pad support 2017-04-28 11:21:25 +10:00
xwin dix: Lift DPMS to a screen hook 2017-03-27 15:59:42 -04:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00