Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline"
From: Andi Kleen (ak_at_suse.de)
Date: 09/06/05
- Previous message: Michael Matz: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- In reply to: Terrence Miller: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- Next in thread: Andi Kleen: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: discuss@x86-64.org, Terrence.Miller@sun.com Date: Tue, 6 Sep 2005 23:49:00 +0200
On Tuesday 06 September 2005 22:55, Terrence Miller wrote:
> Andi Kleen wrote:
> > I don't think the functionality of having single copies in case
> > an out of line version was needed was ever required by the Linux kernel.
>
> But shouldn't the compiler that compiles Linux be C99 compliant?
At least the kernel and some core functionality (glibc) has been
traditionally written in GNU C, not ISO C. So no, that is not
a design goal.
Of course on the other hand GNU C is getting more and more like
ISO C with the gcc people dropping extensions over time.
Some of the extension use is probably more by mistake, but
others (like typeof, inline assembly, statement expressions) are widely
and intentionally used and would be quite hard to replace.
However people have built the kernel with non gcc compilers,
it just needed extensive modifications to either the compiler
or the kernel.
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Michael Matz: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- In reply to: Terrence Miller: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- Next in thread: Andi Kleen: "Re: [discuss] [2.6 patch] include/asm-x86_64 "extern inline" -> "static inline""
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|