Cl.exe INCLUDE

Hi,

I am under windows 7, with ROOT 5.34/01, CINT 5.18.00. I have MS Visual Studio 8 installed, and have
cl.exe in my PATH as well as the include folder of MS VC in the INCLUDE env. variable.

I am trying to generate a dictionary for an std::map to be used in CINT. This is my mymap.C file to use for generating the dictionary:

#include <map>
#ifdef __MAKECINT__
#pragma link C++ class map<float,float>;
#endif

I store it under c:\root
I issue the following command to generate the dictionary, but I get the following error:

root [0] .L mymap.C+
Info in <TWinNTSystem::ACLiC>: creating shared library c:\root\mymap_C.dll
2698468_cint.cxx
mymap_C_ACLiC_dict.cxx
include\stddef.h(8) : error C2632: 'int' followed by 'wchar_t' is illegal
include\stddef.h(8) : warning C4091: 'typedef ' : ignored on left of 'unsigned int' when no variable is declared
include\stdio.h(4) : warning C4068: unknown pragma
include\stdio.h(11) : warning C4068: unknown pragma
include\stdio.h(12) : warning C4068: unknown pragma
include\stdio.h(30) : fatal error C1083: Cannot open include file: 'bool.h': No such file or directory
Error in <ACLiC>: Compilation failed!

Any ideas why I get these errors and how to fix it?

Thanks for any help,
Balint

Hi,

What is the content of your INCLUDE variable. It looks like cl.exe is inadvertently using the header that are for CINT internal consumption.

Philippe.