Re: [Qemu-devel] QEMU fails to configure on non-x86 hosts with recent SDL2

2018-03-07 Thread Gerd Hoffmann
On Wed, Mar 07, 2018 at 02:18:02PM +, Peter Maydell wrote: > On 7 March 2018 at 14:11, Gerd Hoffmann wrote: > > Hi, > > > >> Drop -Wundef when running the configiure test, or override it with > >> -Wno-undef > >> > >> If the actual ui/sdl* files fail for same reason, we could use a gcc > >>

Re: [Qemu-devel] QEMU fails to configure on non-x86 hosts with recent SDL2

2018-03-07 Thread Peter Maydell
On 7 March 2018 at 14:11, Gerd Hoffmann wrote: > Hi, > >> > Any suggestions for how to do a workaround? >> >> Drop -Wundef when running the configiure test, or override it with -Wno-undef >> >> If the actual ui/sdl* files fail for same reason, we could use a gcc >> pragma top disable -Wundef in

Re: [Qemu-devel] QEMU fails to configure on non-x86 hosts with recent SDL2

2018-03-07 Thread Gerd Hoffmann
Hi, > > Any suggestions for how to do a workaround? > > Drop -Wundef when running the configiure test, or override it with -Wno-undef > > If the actual ui/sdl* files fail for same reason, we could use a gcc > pragma top disable -Wundef in just those files, or set -Wno-undef in > CFLAGS on a pe

Re: [Qemu-devel] QEMU fails to configure on non-x86 hosts with recent SDL2

2018-03-05 Thread Daniel P . Berrangé
On Mon, Mar 05, 2018 at 10:24:41AM +, Peter Maydell wrote: > On non-x86 hosts with SDL2 2.0.8, configure fails: > > > config-host.mak is out-of-date, running configure > > ERROR: configure test passed without -Werror but failed with -Werror. >This is probably a bug in the configure s

[Qemu-devel] QEMU fails to configure on non-x86 hosts with recent SDL2

2018-03-05 Thread Peter Maydell
On non-x86 hosts with SDL2 2.0.8, configure fails: config-host.mak is out-of-date, running configure ERROR: configure test passed without -Werror but failed with -Werror. This is probably a bug in the configure script. The failing command will be at the bottom of config.log.