Frank Heckenbach wrote:
As another small step towards cleaning up the `external' mess in GPC, I'm now implementing `external name', i.e.
procedure Foo; external name 'bar';
will be equivalent to
procedure Foo; external; asmname 'bar';
I think that external should indicate language -- C may is good as default, but incompatible name mangling schemes profilerate. Currentely Pascal, Fortran, C++ and Ada in GCC all use different schemes (and with a.out assembler <> C). It seems much better to avoid users doing mangling by hand. And even if support for other languages is delayed it is better to reserve the syntax in advance.