[Issue 8250] New: dirEntries fails to generate file list when compiled with -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sat Jun 16 01:50:44 PDT 2012
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: nobody at puremagic.com
ReportedBy: callumenator at gmail.com
--- Comment #0 from callumenator at 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: -------
More information about the Digitalmars-d-bugs
mailing list