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

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to