memory access violation in ql/MonteCarlo/lsmbasissystem.cpp

Posted by Ferdinando M. Ametrano-3 on
URL: http://quantlib.414.s1.nabble.com/memory-access-violation-in-ql-MonteCarlo-lsmbasissystem-cpp-tp11247.html

Hi Klaus,

the test-suite compiled with Visual Studio 7 crashes in the basket
option test (memory access violation).

Compiling in debug mode results in a run-time Debug Error reported at
line 62 of ql/MonteCarlo/lsmbasissystem.cpp: "Run-Time Check Failure
#0 - The value of ESP was not properly saved across a function call.
This is usually a result of calling a function declared with one
calling convention with a function pointer declared with a different
calling convention."

Why this error doesn't show up in VC8 escapes me...

Could you please check what is going wrong?

thank you

ciao -- Nando