Solver1D.cpp fatal error C1001

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Solver1D.cpp fatal error C1001

Bernd J Wuebben
Hi there,

        here is a curious little problem in solver1D.cpp:

This

return solve_(f, QL_MAX(QL_FABS(xAccuracy), QL_EPSILON));

does not compile as a 'release':

C:\MyProjects\FinLib\FinUtils\Solver\solver1d.cpp(145) : fatal error
C1001: INTERNAL COMPILER ERROR
  (compiler file 'E:\8168\vc98\p2\src\P2\main.c', line 494)
    Please choose the Technical Support command on the Visual C++
    Help menu, or open the Technical Support help file for more
information
Error executing cl.exe.

however it compiles fine as a 'debug' build.

This doesn't compile as a release either:
return solve_(f, xAccuracy);

However, this always works (debug or release):
return solve_(f, 1.0E-10);

Anyone have experience with this sort of thing?

Thanks!
Bernd