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

Environment != Config File

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



Joined: 26 Jan 2005
Posts: 137
Location: Sweden

PostPosted: Sat Mar 12, 2005 10:09 am    Post subject: Environment != Config File Reply with quote

Currently the reading of $DFLAGS environment variable
is hacked into the config-reading routine. It should be separate:

Code:

    CheckEnvironment();
    version(DigitalMars) ReadConfigFile();


Otherwise it won't check the variable on for instance GDC,
which doesn't use a config file but does use the env var...
Back to top
View user's profile Send private message
Derek Parnell



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

PostPosted: Tue Mar 15, 2005 8:03 pm    Post subject: Re: Environment != Config File Reply with quote

afb wrote:
Currently the reading of $DFLAGS environment variable
is hacked into the config-reading routine. It should be separate:

Code:

    CheckEnvironment();
    version(DigitalMars) ReadConfigFile();


Otherwise it won't check the variable on for instance GDC,
which doesn't use a config file but does use the env var...


Good call. I'll fix this for the next release.
_________________
--
Derek
skype name: derek.j.parnell
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