[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:24:28 PDT 2015


On Saturday, 16 May 2015 at 19:21:31 UTC, Iain Buclaw wrote:
> On Saturday, 16 May 2015 at 19:16:04 UTC, weaselcat wrote:
>> On Saturday, 16 May 2015 at 19:11:26 UTC, Iain Buclaw wrote:
>>> 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.
>>
>> Sorry for the noise, but since you're here
>> C++filt in binutils lists dlang support in the help but it 
>> doesn't actually work. Do I report this on binutils issue 
>> tracker, or gdc's?
>
> Binutils.  Other tools may need similarly to be updated.

By the way, "doesn't actually work" may need some explaining.  
(It works for me, for instance).


More information about the Digitalmars-d mailing list