Getting "error C4756: overflow in constant arithmetic" while building Unreal 5.4.2 from source code

Also, other than my early workaround of using std::numeric_limits::infinity(), here’s another workaround to let you specify the SDK version, the buildconfiguration way, so you don’t have to uninstall the latest 26100 for Unreal.

<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
	<WindowsPlatform>
		<WindowsSdkVersion>10.0.22621.0</WindowsSdkVersion>
	</WindowsPlatform>
</Configuration>
6 Likes