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.

error #7 and error #171 While Compiling C++ Code


I am using CCS Version: 5.4.0.00091 and compiling a sample C++ project for C6000 Target..In my some .cpp file some function calls are creating an errors like error #7: unrecognized token and error #171: expected a declaration..

Function call is like:

func1(arg1,

arg2,

arg3);

My Observation is errors are generated because of function call is spanning in more than one line..if above call is replace like below:

func1(arg1, arg2, arg3); then it's compiling successfully..

Is this  a problem with Compiler ? How can i resolve this..

Any suggestions are highly appreciated..