[Issue 348] string concat in dynamically loaded dll code crashes program
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Sep 14 14:09:32 PDT 2006
http://d.puremagic.com/issues/show_bug.cgi?id=348
------- Comment #1 from default_357-line at yahoo.de 2006-09-14 16:09 -------
(In reply to comment #0)
> Files:
> _dll.d_
> extern (C) { void test(char[] str) { char[] e=str~"bla"; } }
> _test.d_
I forgot to mention two things.
a) dmd generates an access error.
b) Compile the first file into a dll with -Wl,--dll and -shared, and the second
file into an executable normally.
--
More information about the Digitalmars-d-bugs
mailing list