[Issue 22427] betterC: casting an array causes linker error in string comparison.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 19 03:53:12 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22427

--- Comment #2 from dave287091 at gmail.com ---
(In reply to dave287091 from comment #1)
> (In reply to dave287091 from comment #0)
> > This reduced code fails to link. 
> 
> I forgot to mention, compile with -betterC. Without -betterC it links fine.

Also, without the array cast there it also links fine.

--


More information about the Digitalmars-d-bugs mailing list