[Spice-devel] [PATCH] RFC: Allow multiple typedefs
Frediano Ziglio
fziglio at redhat.com
Wed May 25 10:55:46 UTC 2016
>
> On Wed, May 25, 2016 at 06:42:56AM -0400, Frediano Ziglio wrote:
> > >
> > > On Wed, May 25, 2016 at 11:44:14AM +0200, Christophe Fergeau wrote:
> > > > and verify() causing compile failures
> > >
> > > Actually this one is just a warning + -Werror:
> > >
> > > image-cache.c:82: warning: nested extern declaration of
> > > '_gl_verify_function6' [-Wnested-externs]
> > >
> > > Christophe
> > >
> >
> > Can you try moving that line one above (outside the if) ?
>
> Oh, I quoted this one but there are a dozen such warnings. Moving the
> verify() outside of the function silences the warning, moving it outside
> of the if does not help. However at worse we can just disable
> -Wnested-externs.
>
> Christophe
>
One other way would be trying to replace
verify(whatever);
with
verify_expr(whatever, (void)0);
Frediano
More information about the Spice-devel
mailing list