This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [COMMITED] Silence warning: â__inlineâ is not at beginning of declaration.


On 06/08/2013 03:53 PM, Carlos O'Donell wrote:
> On 06/08/2013 01:55 PM, Andreas Schwab wrote:
>> OndÅej BÃlka <neleai@seznam.cz> writes:
>>
>>> diff --git a/nptl/sysdeps/pthread/allocalim.h b/nptl/sysdeps/pthread/allocalim.h
>>> index 1ccd387..2af2823 100644
>>> --- a/nptl/sysdeps/pthread/allocalim.h
>>> +++ b/nptl/sysdeps/pthread/allocalim.h
>>> @@ -20,8 +20,8 @@
>>>  #include <limits.h>
>>>  
>>>  
>>> -extern int
>>>  __always_inline
>>> +extern int
>>>  __libc_use_alloca (size_t size)
>>
>> 6.11.5 The placement of a storage-class specifier other than at the
>> beginning of the declaration specifiers in a declaration is an
>> obsolescent feature.
> 
> So what's the real solution to the warnings?

Ah. I see what Ondrej did, I'll have to review that part of ISO C.

c.
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]