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

           Summary: dirEntries fails to generate file list when compiled
                    with -inline
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nob...@puremagic.com
        ReportedBy: callumena...@gmail.com


--- Comment #0 from callumena...@gmail.com 2012-06-16 01:52:48 PDT ---
This code:

auto dFiles = dirEntries("testimages/","*.png",SpanMode.shallow);
foreach(d; dFiles)
  writeln(d.name);

should generate a list of four filenames, however when compiled with -inline it
generates none. In release mode with -O (not using -inline) it works fine. 

Windows 7 x64 using DMD32 2.059 (same thing happened with 2.058).

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

Reply via email to