This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linux-2.2.1-ac3 and egcs-19990131


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]