On Wed, Mar 07, 2018 at 02:18:02PM +0000, Peter Maydell wrote:
> On 7 March 2018 at 14:11, Gerd Hoffmann <kra...@redhat.com> 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
> >> pragma top disable -Wundef in just those files, or set -Wno-undef in
> >> CFLAGS on a per-.o file basis in Makefile.objs
> >
> > What is the status here?  Could you try this peter?  Don't have a test
> > box with SDL 2.0.8 at hand ...
> 
> Haven't tried it, but I'm pretty sure it would work. For the
> moment I just passed --disable-sdl to configure...

Ok, fedora rawhide has updated packages too.  With that recompiled I can
reproduce the issue.  The workaround is a one-liner, for both configure
and the sdl object builds.

cheers,
  Gerd


Reply via email to