Including streambuf with VC7

Hi,
I’m using today’s cvs version of root / cint, on win2k with MSVC7. Having #include in a header, and running rootcint on it gives

C:\root\root\cint\include\streambuf(4) : fatal error C1083: Cannot open include file: 'streambuf.h': No such file or directory Error: Unexpected EOF G__fgetname():2 FILE:c:\root\root\cint/include\streambuf LINE:4 Error: Unexpected EOF G__exec_statement() FILE:c:\root\root\cint/include\streambuf LINE:4 s16c.7_cint.cxx Warning: Error occured during reading source files Warning: Error occured during dictionary source generation !!!Removing C:\root\dummy_using_root\s19k_8.cxx C:\root\dummy_using_root\s19k_8.h !!!
There is no streambuf.h VC7 include file, only a streamb.h. Could this be fixed?

Axel

Hi Axel,

Is this new? Or just the first time you try on MS 7?

Cheers,
Philippe.

Hi Philippe,
I believe it’s the first time I ever tried to #include and run rootcint on it. So I have no idea how it behaved earlier.
Axel.

Hi Axel,

Can you try after removing the #include from the file:

Cheers,
Philippe

Yep, better, no errors with this cint/include/streambuf:

namespace std { #include <iostream.h> #pragma if !defined(G__IOSTREAM_H) //#include <streambuf.h> #pragma endif }
So, #if (_MSC_VER>=1300)?
Axel.

Hi Axel,

It was commented out for all platform (already in the CVS repository)

Cheers,
Philippe.