Download

What is "error C4668: '_M_HYBRID_X86_ARM64' is not defined as a preprocessor macro"?

I’m trying to build a plugin using “RunUAT.bat BuildPlugin” command, which was working perfectly until now.
And I have this error:

C:\Program Files (x86)\Windows Kits\10\include\10.0.15063.0\ucrt\corecrt_math.h(599):
error C4668: ‘_M_HYBRID_X86_ARM64’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif

I don’t have any exotic includes at all, also latest 4.22 and latest VS2017, both updated today.

What is that thing?

ps: it compiles in VS without problem

I removed win32 from WhitelistPlatforms and it went away. Win64 passes without problem.
Is that an UE bug?

Just in case somebody has this problem, it was caused by the fact I had too old version of windows sdk.