报错如下:
1>E:\AppInstall\EpicGames\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4668: 没有将“__has_feature”定义为预处理器宏,用“0”替换“#if/#elif”
1>E:\AppInstall\EpicGames\UE_5.1\Engine\Source\Runtime\Core\Public\Experimental\ConcurrentLinearAllocator.h(29): error C4067: 预处理器指令后有意外标记 - 应输入换行符
解决办法(回退MSVC版本,亲测,问题解决):
文件路径为(针对自己电脑查找):
C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\include\sanitizer\common_interface_defs.h