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

Before remove 26100(the win11 sdk for 24H2 later this year), I tried replace INFINITY macro with both std::numeric_limits::infinity() and it’s ultimate calling builtin function of __builtin_huge_valf(), they both worked.

8 Likes