Solver1D.cpp fatal error C1001

Posted by Bernd J Wuebben on
URL: http://quantlib.414.s1.nabble.com/Solver1D-cpp-fatal-error-C1001-tp2156.html

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