[Request for ABI Breakage]: Ambiguity between extern(Pascal) vs. Template Value Parameters.

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Sat May 16 12:11:24 PDT 2015


On Saturday, 16 May 2015 at 15:46:20 UTC, Iain Buclaw wrote:
> On 16 May 2015 at 16:34, Daniel Murphy via Digitalmars-d
> <digitalmars-d at puremagic.com> wrote:
>> "Iain Buclaw"  wrote in message 
>> news:uzmzjndohsiaewkjmchu at forum.dlang.org...
>>
>>> Once use of extern(Pascal) should be exceedingly rare (I 
>>> don't think I
>>> ever followed ABI convention in GDC) I'd either request that 
>>> extern(Pascal)
>>> be removed completely, or have it's mangled symbol be renamed 
>>> to something
>>> other than a 'V' that does not clash with other 
>>> types/identifiers.
>>
>>
>> Why do we even have extern(Pascal) ?
>
> No idea.  D has never supported 16-bit systems.  Walter?

This is blocking me with improving demangling support in 
gdb/binutils.

https://issues.dlang.org/show_bug.cgi?id=14591
https://github.com/D-Programming-Language/dmd/pull/4658

I may just drop support for recognising extern(Pascal) functions 
completely on my side.



More information about the Digitalmars-d mailing list