version and debug statements

Sean Kelly sean at f4.ca
Thu May 11 15:08:03 PDT 2006


Anders F Björklund wrote:
> Sean Kelly wrote:
> 
>>> And say 10% varies and 90% is the same as the standard, isn't it better
>>> then to "reuse" those parts that are the same and only conditionalize
>>> the parts that actually differ ? Instead of copy/paste the whole thing ?
>>
>> This is what I've been doing in Ares, though it remains to be seen 
>> whether this is the correct approach or not.  I've been sticking to 
>> the 'required' bits and any additional features needed for D and so 
>> far probably 50% of it is platform-specific. 
> 
> Does Ares use any auto-detection or auto-generation for the headers ?

Nope.  I've done everything manually so far (though Kashia submitted the 
darwin bits).  This is obviously a mainenance concern for long-term 
support, but if it comes to that I'll approach it as I've done for DMD 
updates: diff the new Linux include directory against the old one and 
determine what needs fixing.  Automated processing would be nice, but I 
haven't explored that option yet.  I'll also admit to being somewhat of 
a novice with things like 'configure' so it didn't occur to me to use them.


Sean



More information about the Digitalmars-d mailing list