linux-2.2.1-ac3 and egcs-19990131

Mike Stump mrs@wrs.com
Sun Feb 28 23:30:00 GMT 1999


> Date: Wed, 3 Feb 1999 10:08:18 +0100
> From: "Martin v. Loewis" <martin@mira.isdn.cs.tu-berlin.de>
> To: mrs@wrs.com

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

> It seems that ISO C 99 has extern inline functions. 6.7.4/2 says

Oh, they took it from us, great!  So GNU C is buggy and should be fixed.

> I don't understand this entirely. It seems that there must be exactly
> one definition of such a function in a single translation unit, which
> is then used by other translation units.

No!  The others are static, hence no linkage.  The point is, you can
define it in all translation units as external, and the compiler has
to deal with it (linkonce for example).



More information about the Gcc-bugs mailing list