On Mar 28, 2006, at 09:20:09, Jan Engelhardt wrote:
Eh, not really. "__inline__" is GCC-specific and probably won't work in other compilers (unless you did "#define __inline__", which would bloat the code a lot).But ___inline is a C99 keyword, is not it?
Not even GCC fully supports C99 (although I think it does support that keyword when passed -std=c99 or -std=gnu99), and I suspect that a majority of the other compilers for which we would want to add support in the kernel headers would not support C99 or would do a poor job of handling inline functions.
But my question still stands. Does anybody actually use any non-GCC compiler for userspace in Linux?
Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- RE: [OT] Non-GCC compilers used for linux userspace
- From: "Roger Heflin" <[email protected]>
- Re: [OT] Non-GCC compilers used for linux userspace
- From: Peter Chubb <[email protected]>
- Re: [OT] Non-GCC compilers used for linux userspace
- From: Eric Piel <[email protected]>
- RE: [OT] Non-GCC compilers used for linux userspace
- References:
- [ANNOUNCE] linux-libc-headers dead
- From: Mariusz Mazur <[email protected]>
- [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Kyle Moffett <[email protected]>
- Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Eric Piel <[email protected]>
- Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Rob Landley <[email protected]>
- Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Eric Piel <[email protected]>
- Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Kyle Moffett <[email protected]>
- Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- From: Jan Engelhardt <[email protected]>
- [ANNOUNCE] linux-libc-headers dead
- Prev by Date: Re: [PATCH 2.6.16-mm1 3/3] rtc: add support for m41t81 & m41t85 chips to m41t00 driver
- Next by Date: Re: eCryptfs Design Document
- Previous by thread: Re: [RFC][PATCH 0/2] KABI example conversion and cleanup
- Next by thread: Re: [OT] Non-GCC compilers used for linux userspace
- Index(es):