Another crasher in CINT5

Help, CINT5 crashes in debug build.
CINT5 compiled with msvc8 and 9 from lates source at feb 10

[code]#include

class B
{
public:
B() {};
void Func1();
void Func2();
};

void B::Func1()
{
Func2();Func2(); // this won’t crash CINT

for( int i=1; i<2; ++i )
	Func2(); // but this will

}

void B::Func2()
{
string str; // removing this eliminate crash…
}

void RunMe()
{
B b;
b.Func1();
}

[/code]

P.S.
It turned out that CINT7 after few loads / unloads of this code gives error:
Error: Illegal assignment to G__STRING c:\cint\cint7\stl_string(12)

Hi,

I confirm that this bug has already been fixed in Cint7 (which as of yesterday is building properly on msvc9)

Cheers,
Philippe.

Hi,

More specifically, the script works nicely in Cint7 when run once.
To run it repetitively in the same session you need to make sure that string.dll is loaded before first executing the script. I.e. [code]
cint> { #include }
cint> X RunMe.cxx[code]

Cheers,
Philippe.