Re: [ROOT] ROOT version from the CVS HEAD

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jun 02 2004 - 15:35:03 MEST


Hi Valeri,

With the coming release, we will follow the following versioning scheme

  - we will make v4.00.05  (with its CVS tag) and the usual tar files 
     (sources and bins)
  - immediatly, we will change in RVersion.h the version number to 4.00.06
    This will be the development version in CVS head up to the next release.
  - At the next release, we will make 4.00.07 (with its CVS tag, etc)
    etc

ie, the odd minor version numbers  will be tagged releases, the even versions
never released.

Rene Brun



Valeri Fine wrote:
> 
> Hello ROOT team,
> Is there any convention to define whether the ROOT source code coming
> from ROOT CVS HEAD?
> 
> At the moment the ROOT version is provided by "RVersion.h".
> However that doesn't help just one wants to play with ROTO from CVS as
> well.
> 
> Some dedicated CPP macro would have allowed distinguishing the ROOT from
> the CVS HEAD at the compile time.
> 
>   Something like
> 
> RVersion.h:
>   #define ROOT_SOURCE_HEAD
> 
> The problem is the ROOT interfaces (see TCanvasImp class for example)
> from CVS HEAD and from ROOT 4.00.04 are not compatible and this leads to
> the compilation error.
> 
> To avoid this I need to be able to add into my code
> 
>   #if defined(ROOT_SOURCE_HEAD) ||  (ROOT_VERSION_CODE >
> ROOT_VERSION(4,00,4))
>       virtual UInt_t GetWindowGeometry(){ return 0;}
>   #else
>       virtual void GetWindowGeometry(){}
>   #endif
> 
> I would appreciate any other solution to distinguish the source of the
> interface pragmatically without the "manual editing"
> 
>   Thank you,
> 
> Valeri Fine
> Brookaven National Laboratiory
> P.O.Box 5000
> Upton, NY 11973-5000
> -----
> Phone: +1 631 344 7806
> Fax:   +1 631 344 4206
> E-mail: fine@bnl.gov



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:08 MET