On Sunday, 28 February 2021 at 23:00:56 UTC, WhatMeWorry wrote:
On Sunday, 28 February 2021 at 22:10:21 UTC, Siemargl wrote:
On Sunday, 28 February 2021 at 18:29:11 UTC, WhatMeWorry wrote:
It seems pretty obvious the problem is with name mangling.
But how to fix it?
fixing
int numb = 1;
On Sunday, 28 February 2021 at 22:10:21 UTC, Siemargl wrote:
On Sunday, 28 February 2021 at 18:29:11 UTC, WhatMeWorry wrote:
It seems pretty obvious the problem is with name mangling. But
how to fix it?
fixing
int numb = 1;
and your example work correct
ldc 1.24 / win10
P.S.I'm not
On Sunday, 28 February 2021 at 18:29:11 UTC, WhatMeWorry wrote:
It seems pretty obvious the problem is with name mangling. But
how to fix it?
fixing
int numb = 1;
and your example work correct
ldc 1.24 / win10
P.S.I'm not recommend using such keywords as 'file', may cross
with other
mangleof should give _D4file6addOneFiZi, not _D6patron6addOneFiZi
It seems pretty obvious the problem is with name mangling. But
how to fix it?
--
module file;
extern(D) export
{
int addOne(int i) { return (i + 1); }
}
--
module