WindowsPlatformCompilerSetup.h, there is a static_assert that checks:
static_assert(_MSC_VER != 1914 && _MSC_VER != 1915, "Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9.");
I’m in a situation where I may not be able to upgrade the compiler version just yet. Does anyone know exactly what triggers these code generation bugs? Perhaps I can avoid them by selecting a particular optimization level?
I will eventually be able to upgrade to 15.9 (I’ve long since done so on my personal dev machine), but I could really use a workaround for the present. I’d rather not try to hack around this and just cross my fingers, hoping that my users will never happen upon a crash.
Update: I believe I found the root cause here: Visual Studio Feedback