[klibc] ISO C99 inline, again

H. Peter Anvin hpa at zytor.com
Tue Oct 5 11:50:00 PDT 2010


On 10/04/2010 01:30 PM, Thorsten Glaser wrote:
> H. Peter Anvin dixit:
> 
>> klibc is written in the same style as the Linux kernel, which is
>> currently GNU style for inlining; I am not going to support more than
>> one style for reasons of maintainability.
> 
> Argh. Oh well.
> 
> Then please fix the issue otherwise and give the inline functions
> in <stdio.h> the GNU attribute.
> 

Perhaps klcc should pass -fgnu89-inline if available on the underlying
gcc version (4.3 or later).

	-hpa



More information about the klibc mailing list