Re: streams with CInt

Valery Fine (fine@mail.cern.ch)
Thu, 23 Oct 1997 17:57:53 +0100


On 23 Oct 97 at 10:08, William J. Deninger wrote:

>
> When I run your make file, I get the following:
>
> D:\ROOT-T~2\test>nmake makefile.mak
>
I realize MS is changing significantly the work with "stream"s
with each its version of MSVC. So far it (ROOT for NT) was not used
quite hardly (I am guessing) and there was no question. Or people had
the version we used to compiler, namely 4.2. Now the ROOT users go
ahead with 5.0. May be it causes some problem.

The version we use to compile ROOT is 4.2. I guess it is not
compatible with 4.0 and 5.0 . I did find this when we was
switching from 4.0/4.1 to 4.2. I have no tool to check this just
now for v.5.0. Probably Masa knows something on this.

> Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 10.00.5270
> for 80x86 Copyright (C) Microsoft Corp 1984-1995. All rights
> reserved.

Anyway the banner of my compiler shows:

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 10.20.6166 for
80x86

It looks like yours is 4.0. If this is true you CAN NOT mix your
code with ROOT librareis (because "stream"s are quite different).
You may use version 1.00. It was done with 4.0.

With my regards,
Valery
Dr. Valeri Faine (Valery Fine)
------------ ------------- Phone: +41 22 767 4921
CERN FAX : +41 22 767 7155
CH-1211 Geneva, 23 mailto:fine@mail.cern.ch
Switzerland http://nicewww.cern.ch/~fine