|
From: Klaus S. <kla...@fr...> - 2006-09-12 21:18:39
|
Hi Nando, thanks for the hint. I guess that the template metaprogramming I used here to speed up the code is causing the "compiler-headache" even though the code works with various g++ versions (3.3, 4.0 and 4.1) and VS 8 Express. Anyway, I've replaced the code by a more conventional implementation and that should work for VS 7 as well. (Unfortunately I don't have access to VS 7 to check it). cheers Klaus On Monday 11 September 2006 11:37 am, Ferdinando Ametrano wrote: > 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 > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > QuantLib-dev mailing list > Qua...@li... > https://lists.sourceforge.net/lists/listinfo/quantlib-dev |