Why after enabling floating point exceptions I got multiple traps error

后端 未结 2 1993
我寻月下人不归
我寻月下人不归 2021-02-11 09:46

Environment Windows 10 with MSVC2015 professional, compile with /EHa

What I\'m doing: enabling floating point exception to be able to catch exceptions when some bad thin

2条回答
  •  孤街浪徒
    2021-02-11 10:00

    I found answer on MSDN, problem with x86 platform, on x64 we can get correct exception code from thread context register see ref - // https://social.msdn.microsoft.com/Forums/en-US/48f63378-19be-413f-88a5-0f24aa72d3c8/the-exceptions-statusfloatmultipletraps-and-statusfloatmultiplefaults-is-needed-in-more

提交回复
热议问题