[Issue 18312] New: string concatenation with -betterC fails with linker errors
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jan 27 08:02:13 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18312
Issue ID: 18312
Summary: string concatenation with -betterC fails with linker
errors
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: slavo5150 at yahoo.com
void main()
{
scope string s;
s = "`" ~ s ~ "`";
}
Compile with the -betterC flag
onlineapp.d:4: error: undefined reference to '_D12TypeInfo_Aya6__initZ'
onlineapp.d:4: error: undefined reference to '_d_arraycatnTX'
onlineapp.o:onlineapp.d:function main: error: undefined reference to
'_d_run_main'
collect2: error: ld returned 1 exit status
Error: linker exited with status 1
--
More information about the Digitalmars-d-bugs
mailing list