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.

[参考译文] MSP430F149:项目问题-头文件

Guru**** 2460600 points
Other Parts Discussed in Thread: MSP430F149

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/1430134/msp430f149-project-issues---include-files

器件型号:MSP430F149

工具与软件:

我在包含文件 xxxx.c 中编译有错误的项目

我注释掉包含文件 xxxx.c 以及任何对它的调用。

编译器仍会报告头文件中的错误? 在我使用的其他开发系统中、当你注释内容时、就编译器而言、它并不在那里。 至于 make 文件、我从来没有因为简单编译 main.c 对于简单的程序来说就足够了。

我删除并重新构建了该项目、并出现了相同的想法。

我在 make 文件中确实看到有问题的 xxx.c 文件。 CCS 似乎会自动将任何 xxxx.c 源文件放入 make 文件中?