Problem using std::strings in 5.19.04 (on windows)

Hello,

I am using 5.19.04, Windows XP, VS 2008 working in release mode.

The following program (stripped down version of a larger program) crashes after it tries to add the strings. It will only crash if I link to libCore.lib.

#include <string>

using namespace std;

int main(int argc, char **argv)
{
    string m_versionString;
    string m_name = "AWPlotter";

    m_versionString     = m_name + string(" - Version: "); 
    return 0;
}

Is there a flag I can set to get around this?

Thanks,
Sanjeev

p.s. I am atatching the project file
test.zip (10.4 KB)

Hi,

I cannot reproduce the problem with MSVC++ 9.0, debug or releaseā€¦
Which binaries did you download?

Cheers,
Bertrand.

Hi,

Works fine with root_v5.18.00.win32.vc80.msi and VS8.0. Must be jsut and issue with root_v5.19.04.win32.msi and VS8.0.

Regards,
Sanjeev