DMD 1.005 release

Walter Bright newshound at digitalmars.com
Wed Feb 7 11:16:49 PST 2007


BCS wrote:
> Hasan Aljudy wrote:
> 
>>
>> Why is that evil? I think it's actually a great idea. "versions" are a 
>> sort of configuration that determines which code should be compiled 
>> and which code shouldn't. Storing this configuration in a separate 
>> file makes sense to me.
>>
> 
> rename versions.txt to versions.d
> 
> and use
> 
> import versions;
> 
> same effect, less confusion

No, versions defined in an import do NOT affect the importer.



More information about the Digitalmars-d-announce mailing list