version and debug statements

Anders F Björklund afb at algonet.se
Thu May 11 13:35:25 PDT 2006


Brad Roberts wrote:

>>Having large parts of Posix be implementation dependent kinda shoots the whole
>>idea of a standard in the foot.
> 
> I feel the need to cry foul here, a little.  Which parts are 
> implementation defined?  How widely used are those parts?  In my 
> experience, the vast majority of the parts that are used with any major 
> frequency are identical between the various posix compliant operating 
> systems.

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 ?

Even if it's 50-50, we're still talking 5 platforms (and it's growing!)

--anders



More information about the Digitalmars-d mailing list