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.

Compilation error "#159 expression must be an integral constant expression"

Other Parts Discussed in Thread: MSP430F2410

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.

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

Errors:

#159 expression must be an integral constant expression                 params.c    line 51

#66 expected a ";"                                                                                          params.c    line 51 

Warnings:

#78-D this declaration has no storage class or type specifier            params.c     line 51

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

I need to know how do i make this IAR working code compatible with CCS.

Please suggest me some solution.