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.

Including ti/syslink/Std.h in a cpp cause expected a declaration error

Hi all,

I've added a cpp file to my project  and I would like to use some types defined in ti/syslink/Std.h, but I've got the following error during compiling:

cppem3 ../src/mysource.cpp ...
"/home/lrancz/DaVinci/syslink/packages/ti/syslink/Std.h", line 125: error: expected a declaration

The cited line is the closing pair of the extern "C"  line. (C style header in C++ file). The compiler is a CGT470. What's wrong?

Regards,
Lajos