Re: Problem passing string to cpp on 64bit linux

2011-07-03 Thread Walter Bright
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.

Problem passing string to cpp on 64bit linux

2011-07-03 Thread Gerrit Wichert
Hello, currently i'm trying to get wxD running on my opensuse 11.4 64bit box. I've got it running before on opensuse 11.3 32bit using dmd 2.41 (with some little tweaking to the wxd sources). After Upgrading my box, I installed the 64bit version of dmd 2.43 and tried to compile it in 64bit mo