After the latest gtk updates, master fails to build for me on a
SLES11SP3 machine:

/home/cohuck/git/qemu/ui/gtk.c: In function ‘gd_key_event’:
/home/cohuck/git/qemu/ui/gtk.c:943: error: ‘GDK_KEY_Pause’ undeclared (first 
use in this function)
/home/cohuck/git/qemu/ui/gtk.c:943: error: (Each undeclared identifier is 
reported only once
/home/cohuck/git/qemu/ui/gtk.c:943: error: for each function it appears in.)

Of course, the gtk version is not the freshest:

pkg-config --modversion "gtk+-2.0"
2.18.9

On machines with less-ancient gtk (say 2.24) everything builds fine.

I don't really care about gtk support on the SLES11 machine (it's s390
anyway), but we should probably either fence the pause key support or
have configure require a more recent version.


Reply via email to