Versioning best practices

BCS BCS at pathlink.com
Thu Jan 25 10:40:29 PST 2007


Thomas Kuehne wrote:
> 
> 
> Maybe we have different concepts of versioning.
> 
> C:
> #if USE_REENTRANT
> #if GLIBC > 1
> 
> The first line is a feature test while the second one is a version test.
> If you use D's "version(...)" to check features that's fine.
> 
> Versioning in the strict sense(line 2) however is usually not a good
> design - unless your are trying to bypass some library bugs, though fixing those
> should be the primary approach.
> 
> Thomas
> 

Ah, that is a bit of a differnt concept.



More information about the Digitalmars-d mailing list