在VC2015下编译DOOM3时发现出错fatal error C1189: #error

Posted caimouse

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在VC2015下编译DOOM3时发现出错fatal error C1189: #error相关的知识,希望对你有一定的参考价值。

错误:fatal error C1189: #error :  The C++ Standard Library forbids macroizing keywords. Enable warning C4005 to find the forbidden macro. 

 

解决方法:add "_XKEYCHECK_H" in Preprocessor Definitions



属性--配置属性-c/c++-预处理器 添加


_XKEYCHECK_H


以上是关于在VC2015下编译DOOM3时发现出错fatal error C1189: #error的主要内容,如果未能解决你的问题,请参考以下文章

解决OpenSSL 在VC2015下链接报错的问题。

Visual Studio 2015:在没有运行时库的情况下编译 C/C++

解决ubuntu下编译报错/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h #yyds干货盘点#

解决ubuntu下编译报错/usr/include/linux/errno.h:1:10: fatal error: asm/errno.h #yyds干货盘点#

VC++ LNK2001:仅在 64 位编译时无法解析外部符号

VS2017在Release下编译错误C1001