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/LAUNCHXL-F28379D: Interrupt declarations produce compilation error

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: CONTROLSUITE, C2000WARE

Tool/software: Code Composer Studio

I'm trying to compile my C for a C2000 processor, but I get compilation error everywhere that the interrupt keyword is used. What could be causing this? The file containing the first instance of the error is pievect.h , which is part of the library provided by TI. The error is

c:\ti\controlsuite\device_support\f2837xd\v190\f2837xd_headers\include/F2837xD_pievect.h:24:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' typedef __interrupt void (*PINT)(void);

The snippet that throws the error is below:

// PIE Interrupt Vector Table Definition:
// Create a user type called PINT (pointer to interrupt):

typedef __interrupt void (*PINT)(void);