[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 02:07:56 PDT 2015


In this small snippet:

   TS4html3dom4NodeVnnZ

How am I supposed to know the difference between an 
extern(Pascal) function:

   html.dom.Node(none, none)

And a template parameter list:

   html.dom.Node, null


Since 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.

Regards
Iain


More information about the Digitalmars-d mailing list