FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compile error/DMD bug

 
Post new topic   Reply to topic     Forum Index -> Mango
View previous topic :: View next topic  
Author Message
teqdruid



Joined: 11 May 2004
Posts: 390
Location: UMD

PostPosted: Sat Dec 25, 2004 12:49 am    Post subject: Compile error/DMD bug Reply with quote

Just checked out the latest Mango, and it decided not to compile with:
Code:
dmd -I. -version=Posix -version=Mango -c -ofmango/log/FileAppender.o mango/log/FileAppender.d
mango/log/Hierarchy.d(62): identifier 'Logger' is not defined

Which is weird since Hierarchy.d imports mango.log.Appender, which publicly imports mango.log.Logger... The problem is easily fixed by adding mango.log.Logger into Hierarchy.d's imports, but I don't think I should have to do this.

Is this a DMD bug, or is this the correct behavior? Doesn't seem right to me.

John
Back to top
View user's profile Send private message Send e-mail AIM Address
kris



Joined: 27 Mar 2004
Posts: 1494
Location: South Pacific

PostPosted: Sat Dec 25, 2004 1:11 pm    Post subject: Reply with quote

That looks very much like a DMD bug, since the linux makefile does something similar (although it specifies all of the .d files on the command line, rather than one at a time).

I wonder if explicitly supplying the full path to -I would rectify it (rather than -I.) ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Mango All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group