_matherr on Windows

_matherr on Windows

I'm trying to trap errors like sqrt(-1) on Windows using _matherr with W_CC_PC_8.1.027 but my handler is never called. (With the MS compiler my handler is called for the Debug configuration but not for Release.) Is there some other way to trap these errors or get _matherr to work?

Thanks,
Ron

1 Beitrag / 0 neu
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.