version and debug statements

Derek Parnell derek at psych.ward
Wed May 10 16:55:13 PDT 2006


On Sat, 13 May 2006 09:11:36 +1000, Anders F Björklund <afb at algonet.se>  
wrote:

> Walter Bright wrote:
>
>>>> DMD supports Windows and Linux; Unix is neither. For a compiler which  
>>>> targets the Unix operating system, it should set the Unix version.
>>>
>>> It does... I was just hoping to be able to use the same code for both ?
>>  I know it seems like the right thing to do to use the same code for  
>> both operating systems. I'm going to argue that this is a case where  
>> copy/paste might be better.
>
> I began copying/pasting, then. It's going to be three active versions:
>
> * version (Windows) // for all
> * version (linux)   // for DMD
> * version (Unix)    // for GDC

This is one of the reasons why Build will have text-processing  
functionality in it...to automate the copy/paste mechanism in such cases.

-- 
Derek Parnell
Melbourne, Australia



More information about the Digitalmars-d mailing list