Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/c/61.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
带有IAR插件的Eclipse索引器_C_Eclipse_Eclipse Cdt_Iar_Indexer - Fatal编程技术网

带有IAR插件的Eclipse索引器

带有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; } 问题是索

我正在使用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;
}
问题是索引器检测到下图中指定的错误

索引器检测到此错误,因为它无法正确解析两个#includes,因为它在两个头文件中检查在编译选项中指定的预定义预处理器符号“uu CORE_uu”


是否有任何解决方法可以让索引器正确索引这两个头文件?

我不知道iar插件,但通常的方法是在Preferences->C/C++->indexer下启用“使用活动构建配置”

使用此配置,索引器将检测编译选项