bug-gnulib
[Top][All Lists]
Advanced

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

Re: glob.c warnings


From: Eric Blake
Subject: Re: glob.c warnings
Date: Wed, 04 Sep 2013 06:31:36 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

[just now noticing an old thread]

On 06/03/2013 05:05 AM, Colin Watson wrote:
> I get these warnings from a project using Gnulib 20130529:
> 
>   glob.c:165:1: warning: '__leaf__' attribute has no effect on unit local 
> functions [-Wattributes]
>   glob.c:213:1: warning: '__leaf__' attribute has no effect on unit local 
> functions [-Wattributes]
>   glob.c:214:1: warning: '__leaf__' attribute has no effect on unit local 
> functions [-Wattributes]
> 
> These are from uses of __THROW on static functions.  Is it perhaps worth
> using (and defining if necessary) __THROWNL instead, which I think would
> pacify these warnings?

What version of gcc and what CFLAGS were you using?  Yes, this is
probably worth fixing.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]