Re: [ROOT] Root Conflicts with Windows

From: George Heintzelman (georgeh@sparrowhawk.chm.bnl.gov)
Date: Tue Sep 26 2000 - 18:44:24 MEST


> The ROOT libraries really should be in their own namespace.  All of the
> compilers which you provide binaries for support namespaces, do they not?
> 
> I occasionally, but consistently,  run into namepsace conflicts too.  In my
> own case it is not with system libraries, but with third party libraries
> (i.e. user code).
> 
> Why not put each release of ROOT into a separate namespace, i.e.
> 
> namespace ROOT_2_25_03
> {
>    ...
> }

I ordinarily would support this. There's one problem, though. There are 
many hundreds of header files, many in production code, which would 
break if this was done without also adding to every root header file 
the line:

using namespace ROOT_2_25_03;

or whatever. And in that case, IMHO, the cure is worse than the disease.

I would support making this kind of change requiring significant 
changes to user code in a hypothetical Root 3.0.

George Heintzelman
gah@bnl.gov



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:33 MET