Error
- ‘__cpp_noexcept_function_type’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’ and ‘_NOEXCEPT_TYPES_SUPPORTED’ is not defined as a preprocessor macro, replacing with ‘0’ for ‘#if/#elif’
- overflow in constant arithmetic while compiling GetClobberValue
Sol
- Del Windows 11 SDK (10.0.22621.0)
- Del Windows 11 SDK (10.026100.4654)
- Just Use Windows 10 SDK (10.0.19041.0) (or under version)
If the same errors persist even after following the above steps, try deleting the two SDK folders located in
C:\Program Files (x86)\Windows Kits\10\Include
and then rebuild the UE.
This is the solution that worked for me.