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

Some problems with .di files

 
Post new topic   Reply to topic     Forum Index -> Build
View previous topic :: View next topic  
Author Message
kris



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

PostPosted: Mon Jun 05, 2006 11:58 pm    Post subject: Some problems with .di files Reply with quote

Hi Derek,

Ran into a problem with Build vis-a-vis .di files ~ Build sees the module reference, and adds the module to the list of things that dmd should operate upon. However, dmd doesn't like to be handed (command line) references to .di files in any shape or form; and barfs when you try it. In other words, a reference to a .di file must only be loaded implicitly by dmd. I'm not quite sure what to make of that, but there it is.

To get around the issue, one can add a pragma(nolink) to the file, and rename it .d instead of .di, since Build otherwise ignores the .di file completely and adds a .d reference into the list of things to compile (not good).

Any ideas on how to deal with this in a more effective manner?
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Tue Jun 06, 2006 12:29 am    Post subject: Reply with quote

I see the problem. Give me a bit to come up with a solution.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
Derek Parnell



Joined: 22 Apr 2004
Posts: 408
Location: Melbourne, Australia

PostPosted: Tue Jun 06, 2006 2:41 am    Post subject: Reply with quote

Ok. It needed a small correction to the application. I've done the changes locally but I'll wait at least 24-hours to see if any issues get reported with v3.00 first then fold them in together.
_________________
--
Derek
skype name: derek.j.parnell
Back to top
View user's profile Send private message
kris



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

PostPosted: Tue Jun 06, 2006 10:20 am    Post subject: Reply with quote

ok, thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Build 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