Denis Koroskin wrote:
> I'm currently writing a program that interfaces with C++.
> C++ code uses a lot of 'unsigned long', which equals to 'unsigned int',
> or just 'unsigned', but is mangled differently.
> 
> In particular, C++ mangles unsigned long as 'K', and I can't find a D
> counterpart that would be mangled similarly.
> This results in an unaccessible function (it is unresolved at link time).
> 
> Any thoughts?

Why not define the respective types in object.d, like C_int, C_long, C_ulong, 
and have the compiler mangle them correctly?

I mean, if we're proposing new features anyway ..

Reply via email to