Print

Print


Hi Lukasz,

For non-release code, wouldn't it make more sense if the value was 999999?  That way, you always get the latest version of the code?  Otherwise, this scheme appears difficult to use for external plugin writers who want to time the release of the plugins with the release of Xrootd.

Brian

On Sep 12, 2011, at 5:02 AM, Lukasz Janyst wrote:

> Hello everyone,
> 
>   I have added a new macro to the XrdVersion.hh. It stores the
> numeric version number of a release to enable the external clients to
> do conditional compilation:
> 
> #if XrdVNUMBER > 30100
> foo
> #else
> bar
> #endif
> 
>   The format is: xyyzz, where x is a major number, yy minor number
> and zz a bugfix number. For non-release code the value will be 0.
> 
> Cheers,
>   Lukasz