error C2338: /RTCc rejects conformant code错误解决

使用VS2019/VS2022生成项目报错
严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C1189 #error: /RTCc rejects conformant code, so it is not supported by the C++ Standard Library. Either remove this compiler option, or define _ALLOW_RTCc_IN_STL to acknowledge that you have received this warning. ArxProject2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\yvals_core.h 1231

修改项目->c/c++->最小类型检查,改为否

![在这里插入图片描述](https://cdn.bimath.com/blog/pg/Snipaste_2026-01-04_16-11-32.png)
,清理一下项目即可生成项目。
![在这里插入图片描述](https://cdn.bimath.com/blog/pg/Snipaste_2026-01-04_16-11-39.png)