Internal compiler error while compiling Unreal Engine 5.3.1 from Source

Hi,
This error was fixed in 17.8 of vs2022
open the Visual Studio Installer from Windows start bar,
Click modify and update to the Latest version of Visual Studio and then Repair and the error will be fixed