Re: linux-2.2.1-ac3 and egcs-19990131

Horst von Brand (vonbrand@sleipnir.valparaiso.cl)
Wed, 03 Feb 1999 10:33:03 -0400


mrs@wrs.com (Mike Stump) said:
> Horst von Brand <vonbrand@sleipnir.valparaiso.cl> said:

> > extern __inline__ unsigned char *skb_put(struct sk_buff *skb,
> > unsigned int len)
> > {

> Gee, and I thought only C++ provided extern inline:

I'm _not_ talking ISO C here, but GNU C. The linux kernel does use the GNU
extensions quite extensively. Might be a pain to migrate to the
corresponding features of C9x later, but it will happen in time.

[...]

> and that's it, sorry. Please use C++, or get the C folks to support
> extern inline, it is quite easy and trivial (right Jason? :-)).

C++ won't be used in the kernel, the kernel is written in (GNU) C. And
extern inline used to be supported well by gcc/egcs (at least up to
egcs-2.93.01, the latest snapshot before the current 2.93.04 I've got
here). That's exactly my point!

-- 
Horst von Brand                             vonbrand@sleipnir.valparaiso.cl
Casilla 9G, Viņa del Mar, Chile                               +56 32 672616

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/