[Issue 18312] string concatenation with -betterC fails with linker errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Feb 10 10:19:13 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18312
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla at digitalmars.com
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> ---
The example needs to declare main() as extern(C).
Anyhow, the trouble is _d_arraycatnTX(), which is in druntime and uses the GC
to allocate the destination array.
--
More information about the Digitalmars-d-bugs
mailing list