[klibc] ISO C99 inline, again

Thorsten Glaser tg at mirbsd.de
Tue Oct 5 12:07:37 PDT 2010

H. Peter Anvin dixit:

>I don't see "the issue" you're referring to.  If you're compiling with
>-std=c99 it just won't work.

That's the issue.

>> 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).

No, the other places add an __attribute__ to the functions. I can
probably come up with a patch, too (just not tonight).

I believe no one can invent an algorithm. One just happens to hit upon it
when God enlightens him. Or only God invents algorithms, we merely copy them.
If you don't believe in God, just consider God as Nature if you won't deny
existence.		-- Coywolf Qi Hunt

More information about the klibc mailing list