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.

CCS/MSP430G2553: Error : "Expected a ;" while using _interrupt

Part Number: MSP430G2553

Tool/software: Code Composer Studio

Hey, so I'm using CCS to code an MSP430G253 Launchpad. Whenever I code an interrupt vector, I get this same error. I also get a warning saying that 

"#1111-D pragma vector can only be applied to a function definition, not "_interrupt" (declared at line 33) main.c /LED Graph line 31 C/C++ Problem"

I've started coding in CCS only recently, and I got this same code online from a tutorial in which it works perfectly fine. But somehow when I debug it in my system I land up with this error.

Am I doing something wrong? Please help me out :(