嗨,我最近买了一个PIC18F47 K42 XPress评估套件。在尝试编译一个非常简单的项目时,我收到了这个错误:程序文件(x86)Microchip xC8v1.44包含pIC18F47 K42.h:382:错误:(1098)变量“StasuSuthad”(E:Project文件(x86)Microchip xC8v1.44 包含 PIC18F47 K42·h:382)在其显示的头文件中的冲突声明下面的DelCursStudio向上和向下滚动文件,我看到已经用这种方式声明了多个变量。但是这一个给出了错误。有人有任何建议来解决这个问题吗?此外,头文件几乎是2MB,不能附加在这里。
C(7.23 KB)-下载50次
以上来自于百度翻译
以下为原文
hi,
i recently bought a pic18f47k42 xpress evalua
tion kit. upon trying to compile a very simple project i receive this error
E:Program Files (x86)Microchipxc8v1.44includepic18f47k42.h:382: error: (1098) conflicting declarations for variable "STATUS_SHAD" (E:Program Files (x86)Microchipxc8v1.44includepic18f47k42.h:382)
in the header file it shows the following delcarations
// Register: STATUS_SHAD
#define STATUS_SHAD STATUS_SHAD
extern volatile unsigned char STATUS_SHAD @ 0x3884;
scrolling up and down the file, i see that multiple variables have been declared this way. but this one gives the error.
Does anyone has any suggestions to sort this out?
also the header file is almost 2Mb, can't attach it here.
Attachment(s)
main.c (6.75 KB) - downloaded 41 times
mcc.c (7.23 KB) - downloaded 50 times