VS 2022 breaks on any floating point issues even exceptions are off

Started by
1 comment, last by JoeJ 1 year, 8 months ago

I made a new project recently in VS 2022, using the same settings as with my other projects. C++ and floating point exceptions are off.

But i still get them, as soon as some nan or inf numbers pop up, or if i divide by 0.f. Looks like this for example:

In this case the pnt contains numbers of -inf.

I don't see such behavior in my other projects, and don't know how to turn it off. Googling did not give any clues. It happens in release and debug builds.

I assume those project properties settings should disable such exceptions, but no:

Is there something else i might miss?

Advertisement

Resolved. Turned out the physics engine enables fp exceptions using ndControlFP(), so i got them in its callbacks.

This topic is closed to new replies.

Advertisement