linux-2.2.1-ac3 and egcs-19990131
Horst von Brand
vonbrand@sleipnir.valparaiso.cl
Sun Feb 28 23:30:00 GMT 1999
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
More information about the Gcc-bugs
mailing list