On Thursday, 19 February 2026 at 18:08:24 UTC, user1234 wrote:

Error: function `onlineapp.OK` label `_D9onlineapp__T2okHVii1ZQjFNaNbNiNfZi` is undefined

mangles suck and need to be updated for tiny details

```
module onlineapp;

int ok(int i)(){return i;}

enum mangle=ok!1.mangleof;
mixin("extern(C) int "~mangle~"();");

void OK()
{
    mixin("asm{call "~mangle~";}");
}

int main()
{
    OK();
    return 0;
}
```

Reply via email to