why
    Bruno Medeiros 
    brunodomedeirosATgmail at SPAM.com
       
    Mon Jul  3 00:58:59 PDT 2006
    
    
  
Derek Parnell wrote:
> On Sun, 02 Jul 2006 21:31:32 -0600, Hasan Aljudy wrote:
> 
> I finally got it to issue the message, and it has nothing to do with any of
> the suggestions so far.
> 
> I create the file "c:\temp\main.d" that contained a single line 
> 
>    void main(){}
> 
> I then set my current directory to C:\
> 
> and this is the result I got ...
> ===================
> C:\>type c:\temp\main.d
> void main(){}
> C:\>dmd main.d
> main.d: module main cannot read file 'main.d'
> 
> C:\>
> 
> ================
Why create the c:\temp\main.d file? The error happens anywhere, with any 
module, just by typing "dmd foobar.d" where foobar.d doesn't exist.
-- 
Bruno Medeiros - CS/E student
http://www.prowiki.org/wiki4d/wiki.cgi?BrunoMedeiros#D
    
    
More information about the Digitalmars-d
mailing list