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.

首次使用CCS5.2,编译时遇到好多警告!? 求帮助!

Other Parts Discussed in Thread: MSP430G2553

使用IAR时,编译没有警告问题,使用CCS5.2时,出现好多警告!不过倒是还能执行调试,就是看到一堆警告不爽! 不解其中缘由,求帮助! 源程序如下:

#include <msp430.h>

void main( )

{

WDTCTL = WDTPW + WDTHOLD;

P1DIR |= 0x01;

     for(;;)      

{volatile unsigned int i;

P1OUT ^= 0x01;

i = 10000;

do i--;

 while(i != 0);

}

}

编译的警告信息为:
#10374-D</a>  Interrupt vector "ADC10" does not have an interrupt handler routine. lnk_msp430g2553.cmd /led line 82 C/C++ Problem
#10374-D</a>  Interrupt vector "COMPARATORA" does not have an interrupt handler routine. lnk_msp430g2553.cmd /led line 88 C/C++ Problem
#10374-D</a>  Interrupt vector "NMI" does not have an interrupt handler routine. lnk_msp430g2553.cmd /led line 91 C/C++ Problem
#10374-D</a>  Interrupt vector "PORT1" does not have an interrupt handler routine. lnk_msp430g2553.cmd /led line 79 C/C++ Problem
#10374-D</a>  Interrupt vector "PORT2" does not have an interrupt handler routine. lnk_msp430g2553.cmd /led line 80 C/C++ Problem

... 等等