Problem passing string to cpp on 64bit linux

Walter Bright newshound2 at digitalmars.com
Sun Jul 3 12:55:03 PDT 2011


On 7/3/2011 9:42 AM, Gerrit Wichert wrote:
> Strings were just passed to a C function expecting a struct of type 'dstr' like
> in this testing code.

Passing structs as value parameters do not follow the C ABI on Linux 64. This is 
a known bug.


More information about the Digitalmars-d mailing list