带有IAR插件的Eclipse索引器
我正在使用IAR插件为uC RL78开发代码 我有以下示例代码:带有IAR插件的Eclipse索引器,c,eclipse,eclipse-cdt,iar,indexer,C,Eclipse,Eclipse Cdt,Iar,Indexer,我正在使用IAR插件为uC RL78开发代码 我有以下示例代码: /* Include the processor-specific SFR file where "DEVICE" corresponds to your selected device or device family. */ #include "ior5f10pmh.h" #include "ior5f10pmh_ext.h" int main() { PM6_bit.no1 = 0; return 0; } 问题是索
/* Include the processor-specific SFR file where "DEVICE"
corresponds to your selected device or device family. */
#include "ior5f10pmh.h"
#include "ior5f10pmh_ext.h"
int main() {
PM6_bit.no1 = 0;
return 0;
}
问题是索引器检测到下图中指定的错误
索引器检测到此错误,因为它无法正确解析两个#includes,因为它在两个头文件中检查在编译选项中指定的预定义预处理器符号“uu CORE_uu”
是否有任何解决方法可以让索引器正确索引这两个头文件?我不知道iar插件,但通常的方法是在Preferences->C/C++->indexer下启用“使用活动构建配置” 使用此配置,索引器将检测编译选项