Re: [PATCH] RFC: Allow multiple typedefs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]