if (CompileEnvironment.bUndefinedIdentifierWarningsAsErrors)
{
//BEGIN TBS - this currently chokes on the Windows 10 SDK shipping with VS 2019
if(EnvVars.WindowsSdkVersion.ToString().Contains("17763.0"))
{
Arguments.Add("/w44668");
}
else
{
Arguments.Add("/we4668");
}
//END TBS
}
else
{
Arguments.Add("/w44668");
}
最终测试改了也有问题,卸载vs2019可以解决问题;