Extern/scope issue

rikki cattermole rikki at cattermole.co.nz
Sat Apr 3 13:38:25 UTC 2021


On 04/04/2021 2:34 AM, DLearner wrote:
> However, changing extern(C) to extern(D) causes linker failures.
> To me, that is bizarre.

extern(D) sets the ABI AND mangling.

D mangling incorporates things like the module name.


More information about the Digitalmars-d-learn mailing list