[Issue 8126] New: Internal corruption in DMD when built with MSVC++ (unless my version was just messed up...)

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 20 17:11:47 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8126

           Summary: Internal corruption in DMD when built with MSVC++
                    (unless my version was just messed up...)
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: wfunction at hotmail.com


--- Comment #0 from wfunction at hotmail.com 2012-05-20 17:13:23 PDT ---
When I try to compile the code below:

import std.algorithm, std.file;
void main() { foo(copy); }

with a version 2.60 beta of DMD that I built with MSVC, I get back gibberish:

Error: undefined identifier foo
À+?hŸà‘¿;¢ð: Error: no overload matches for copy(Range1,Range2) if
(isInputRange!(Range1) && isOutputRange!(Range2,ElementType!(Range1)))

It doesn't happen with the version of DMD that you build with DMC, though.

I think it's a buffer overflow bug, unless my version just messed up...

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list