Mar*_*ett 14 c++ windows visual-studio-2010
微软在哪里侥幸逃脱
#define small char
您不能只为该语言添加保留字,并将它们静静地包含在平台SDK中!
更重要的是我如何摆脱它!
编辑:如何查找Visual Studio中包含的内容和内容 - 在Visual Studio中显示C++文件的#include层次结构
您没有说是否要删除标头 include 或#define。
如果您想删除包含但不知道在哪里,可以尝试在列出 SDK 包含的标头中定义包含标志。
#define RpcNdr.h //find the real flag in the header
#include "sdk.h"
Run Code Online (Sandbox Code Playgroud)
如果它只是'small'的#define,那么如何将其放在您的标头中,紧跟在 SDK 包含列表之后。
#ifdef RpcNdr.h //find the real flag in the header
#undef small
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
4638 次 |
| 最近记录: |