Interfacing D with C and C++
Scott Wilson via Digitalmars-d
digitalmars-d at puremagic.com
Sat Aug 23 22:17:28 PDT 2014
On Sunday, 24 August 2014 at 04:59:04 UTC, Walter Bright wrote:
> On 8/23/2014 9:31 PM, Scott Wilson wrote:
>> Could you tell me how I could get this to work?
>
> The function is mangled as:
>
> C++: _ZNSaIiE10deallocateEPvm
> D: _ZN3std9allocatorIiE10deallocateEPvm
>
> Looks like D gets it wrong.
Thank you for your attention. This means there is a bug in the
compiler? Do you think there is a simple fix to this or a
workaround? Unfortunately my compiler fu is lackadaisical.
Scott
More information about the Digitalmars-d
mailing list