dirEntries fails with option -inline
    cal 
    callumenator at gmail.com
       
    Sat Jun 16 00:41:44 PDT 2012
    
    
  
This code:
auto dFiles = dirEntries("testimages/","*.png",SpanMode.shallow);
foreach(d; dFiles)
   writeln(d.name);
fails to generate a directory listing when I compile with -inline 
option to DMD v2.058. It works fine otherwise, both release and 
debug, with or without -O etc.
Is this a bug, or am I doing something dumb by using -inline?
Thanks,
cal
    
    
More information about the Digitalmars-d-learn
mailing list