Re: ROOT incompatible with VC++ 6

Rene Brun (Rene.Brun@cern.ch)
Fri, 02 Oct 1998 08:53:34 +0200


Andy Haas wrote:
>
> I've noticed that ROOT version 2.00/11 for WinNT has problems with the
> new MSVCRT.DLL distributed with VC++ 6.0 on NT. For instance, using
> the new dll, attempting to divide a canvas by right clicking and
> filling in arguments causes a crash in the dll. This happens many
> other places as well.
>

Andy,
The version 2.00/11 currently distributed for NT is compiled
with VC++ 5.0. It is not a surprised if it does not work with
other code compiled under VC++ version 6.
The new version of Root 2.00/12 coming in a few days has been
compiled under version 6 by our colleague Sverre Jarp.
We had to make a few changes in the source (the new compiler
seems to move towards ANSI C++ compatibility!).
However, I do not have version 6 installed on the PC where I
generate the NT version and the new version of Root will still be
compiled with VC++5. It is my understanding that most users are
still using VC++5.
The solution, I know, would be to provide a makefile to build
Root under NT. This was recently discussed during my 3 weeks visit
at FNAL. Gordon Watts from D0 and Valery have exchanged information
on this topic. They may want to comment.

I have seen 3 versions of VC++ in 2 years. The initial cost of
the compiler is pretty high and the upgrade to new versions
is pretty high as well. This operation is likely costing a lot of money
to sites with many machines. This is certainly a good operation
for Bill Gates.

Rene Brun