How to make D resolve C++ symbols by mangling symbols with the Itanium ABI on Windows
user1234
user1234 at 12.de
Mon Feb 26 15:46:34 UTC 2024
On Monday, 26 February 2024 at 14:41:26 UTC, thumbgun wrote:
> On Monday, 26 February 2024 at 13:58:46 UTC, user1234 wrote:
>> On Monday, 26 February 2024 at 13:40:56 UTC, thumbgun wrote:
>>> The title wasn't very accurate as it isn't dmd that mangles
>>> the names but my question still stands.
>>
>> Have you tried [pragma
>> mangle](https://dlang.org/spec/pragma.html#mangle) ?
>
> I have seen it but it's not really what I need.
> [...]
Not even
```d
pragma(mangle, "?add@@YAHHH at Z")
extern(C++) int add(int lhs, int rhs);
```
?
More information about the Digitalmars-d
mailing list