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.

CCSv4 At end of source: error: expected a "}"

Hello,

I am trying to complile a program using the compiler for a DSP2803x using CCSv4. I am trying to use embedded C++ and the compiler is failing.

1st: Does the C2000 compiler support C++?

I am getting the following errors/warnigs:

I am also working with a Stellaris micro and have the same C++ setting but no warnings/errors. Also is there startup code associated with running a C2000?

"../Application/Main_main.cpp", line 109: warning: linkage specification is not allowed

At end of source: error: expected a "}"

1 error detected in the compilation of "../Application/Main_main.cpp".

Can someone please help me solve these problems?

Thank you,

Luke