[PATCH] uclibc extern inline

Rob Landley rob at landley.net
Sat Dec 8 02:27:26 UTC 2007


On Friday 07 December 2007 18:19:02 Khem Raj wrote:
> Hi
>
> Compiling with gcc 4.3 I get a lot of warning about inlining.
> with -std=c99 or -std=gnu99 GCC implements ISO C99 inline semantics
> unless -fgnu89-inline is used.
>
> Is this patch ok ?

I'm under the vague impression a year or so back the Linux kernel guys decided 
to either use the attribute always_inline or not say inline at all.  The gcc 
developers' continuing quest to try to outguess their users has essentially 
turned "inline" into a new "register"; a keyword that only pretends to be 
useful.

Linux Weekly News covered this...
http://lwn.net/Articles/166172/

There might have been a follow-up article...

Rob
-- 
"One of my most productive days was throwing away 1000 lines of code."
  - Ken Thompson.



More information about the uClibc mailing list