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.

"Bad character sequence encountered @" Warning in Code composer studio

HI ,

I am porting IAR Embedded workbench project source code to Code composer studio.5.5.0
The source code is building fine with IAR Embedded workbench IDE.
MCU is msp430f2410.

I am getting below Build errors and warning during compilation on the same line.

===================

#66 expected a ";" timer.c line 118
#7 unrecognized token timer.c line 118

Bad character sequence encountered:@

===================

==============================

#define TXIV_ADDRESS (0x011E) //Register address

__no_init volatile WORD TxIV @ TXIV_ADDRESS;  // Timer Interrupt Vector

===============================

I need to know the equivalent code in ccs.

Note:  __no_init in above is #defined to __attribute__((noinit)) for CCS compatibility as it is IAR specific.