Unreal Error "This project could not be compiled. Would you like to open it in Visual Studio?"

opening the WindowsPlatformCompilerSetup.h file in source code (this won’t correct it for the binary version of the Engine, unfortunately)
remove 4599 from the table of warnings at the top
add #pragma warning(disable : 4599) below the list