On 10/5/2017 3:23 AM, Dukc wrote:
Since when have C struct had array members?
Since the dawn of time :-)
The problems come from when you use a D only type as a function parameter type
in a C++ function. Then, the C++ function mangler fails because, well, the C++
community has sadly neglected to add D types to the C++ ABI :-)
When cases like that crop up, I switch it to C mangling, which means no
mangling, so no problems! and hopefully overloading isn't involved. (Overloading
isn't supported with C functions, because overloading relies on name mangling
and C functions are not mangled.)