>It's only ever called if PLATFORM_EXCEPTIONS_DISABLED is 0
Quite the opposite. The ! operator means a logical negation.
Quite the opposite. The ! operator means a logical negation.
#if PLATFORM_EXCEPTIONS_DISABLED
FPlatformMisc::DebugBreak();
#else
FPlatformMisc::RaiseException( 1 );
#endifI'm not saying that at all, I said early on that this is a problem. Refer to this in my first comment replying to you: "I don't think RaiseException is well defined. If it's only meant to be used for x86, it should be coded that way instead of relying on other code to enforce the behavior."
Internally it seems they only intended it to be used in specific cases, but there's nothing preventing anyone else from calling it when they shouldn't as you noted. This is bad design.