Can't build Unreal Editor 4.27.2 from source

Had the same error/warning with VSC2022 and disabling warnings in Build.cs solved the issue.