www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - dmd -I option doesn't work with directory name containing space(s) - tdmd.tgz

With dmd 0.137 (was the same with 0.136), on Linux  
the following doesn't work:  

dmd hello.d with\ space/util.o -ofhello -Iwith\ space  

It fails with: hello.d(2): module util cannot read file 'util.d' 
It works if util.o/util.d is moved to, e.g. "some_dir". 

The attachement contains an example to reproduce.  
Unpack the gzipped tar archive, change to the directory "tdmd"  
and read the README.  

Stefan Lang 
Oct 29 2005