[Issue 7042] Allocation of 'creal' array with 'new' fails when linking without /noi switch

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jul 20 21:14:49 PDT 2017


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

Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from Vladimir Panteleev <dlang-bugzilla at thecybershadow.net> ---
(In reply to Andrej Mitrovic from comment #2)
> Perhaps we must always use /noi, in which case this is an invalid bug
> report.

It's certainly weird that the Microsoft linker defaults to case-insensitivity
even though C is case-sensitive, but it's no surprise if weird bugs arise from
said case-insensitivity.

In any case, I don't see why wrong link settings need to be DMD's burden.
Though it's not impossible that a workaround in DMD in theory might exist, the
primary cause of this problem is clearly user error.

--


More information about the Digitalmars-d-bugs mailing list