This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

奇怪的关于Include的错误,请教大家!

Other Parts Discussed in Thread: MSP430F5510

  一共出现了大概七十几个类似警告,工程内我全是include <msp430f5510.h>,为什么会出现和msp430x14x.h冲突的警告?在工程里搜msp430x14x,发现debug后的main.d文件有Include msp430x14x.h,除此之外没有其他地方出现msp430x14x.h。程序可以正常运行,但我非常的困惑,希望得到解答,谢谢。

另外,工程复制粘贴了一个msp430x14x工程的一个.c文件进行改动,但include我已经修改成了msp430f5510,总之现在程序里除了main.d搜不到任何出现msp430x14x的地方。


#48-D incompatible redefinition of macro "WDT_ADLY_1_9" (declared at line 4581 of "F:/ti/ccsv6/ccs_base/msp430/include/msp430f5510.h") .ccsproject /SPI_SD_CARD line 227, external location: F:\ti\ccsv6\ccs_base\msp430\include\msp430x14x.h C/C++ Problem

Description Resource Path Location Type
#48-D incompatible redefinition of macro "WDT_ADLY_1000" (declared at line 4578 of "F:/ti/ccsv6/ccs_base/msp430/include/msp430f5510.h") .ccsproject /SPI_SD_CARD line 224, external location: F:\ti\ccsv6\ccs_base\msp430\include\msp430x14x.h C/C++ Problem