[Issue 18312] string concatenation with -betterC fails with linker errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Jan 28 23:53:39 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18312
Steven Schveighoffer <schveiguy at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |betterC
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
This is one of those "magic" calls from the compiler to the runtime. I agree it
can be replaced with a template, and then the linker error will be replaced
with a compile time error (or maybe one can provide a betterC runtime that
works without druntime?)
The TypeInfo is how the old-time runtime functions communicated the type. There
is slow but steady progress to replace these calls with template calls,
allowing the runtime more control over what happens.
--
More information about the Digitalmars-d-bugs
mailing list