C++ Exception “Skips” Try-Catch Clause in MSVC x64

前端 未结 3 496
萌比男神i
萌比男神i 2020-12-30 04:28

I\'m writing a program in C++. The program has been working fine for Win32 (x86), and recently I\'ve tried compiling it natively for x64. Of course, stuff didn\'t work right

3条回答
  •  没有蜡笔的小新
    2020-12-30 04:47

    Try the switch /FAs switch:

    http://msdn.microsoft.com/en-us/library/367y26c6%28v=vs.80%29.ASPX

    somewhere in "additional output file" in your "compiler settings". ( make sure all other settings are the sames )

    Then, do a diff between both outputs. post the diff here. I'm sure some people will be able to tell you the why and how, and maybe some compiler settings or code workaround.

提交回复
热议问题