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

错误:fatal error C : error : The C Standard Library forbids macroizing keywords. Enable warning C to find the forbidden macro. 解决方法:add XKEYCHECK H in Preprocessor Definitions ...

2012-11-22 17:48 0 5725 推荐指数:

查看详情

报错C1189 #error: "No Target Architecture"

根本原因: 是因为单独包含了一些windows.h已经包含了的头文件如"fileapi.h","WinUser.h",但是却没有包含windows.h 或者先包含了如"fileapi.h","Win ...

Sat Dec 22 18:37:00 CST 2018 0 2205
fatal error C1189: #error : "No Target Architecture" 解决办法一

在编译程序的时候发现报这个错误,在网上看到很多文章,说设置include路径,lib目录等等,都没有解决。最后调整了以下include文件的顺序,问题解决了。例如 从头文件a.h中截取的一段 ...

Wed Dec 03 22:39:00 CST 2014 0 2309
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM