c++ - ATL C++ 抛出编译错误
问题描述
当我尝试将 Visual Studio 安装的 ATL 库添加到我的 C++ 项目时,ATL 文件中有很多编译错误。例如:
error: 'warning' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
} __pragma(warning(suppress:4127)) while (0)
可能是什么原因造成的?
解决方案
推荐阅读
- google-apps-script - 复制/粘贴后清除原纸上的内容
- reactjs - NPM 启动不起作用并发送大错误消息
- jquery - 如何从单元格中读取样式属性并动态分配它们?
- spring - Spring Data JPA - 创建名为“entityManagerFactory”的bean时出错
- r - 删除不满足特定条件的行后,使用新数据集重新运行函数
- php - 重构条件语句 PHP
- django - 如何从通道层中的组中删除所有连接 | Django 频道
- python - 如何在 Python 中求解矩阵微分方程?
- react-native - 无法在 react-navigation 5 上的屏幕之间导航
- java - 关于片段的类膨胀错误