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/TMS320F28334: CCS7

Part Number: TMS320F28334


Tool/software: Code Composer Studio

Hi

I just changed CCS form version 5.2 to 7.0 now I get the following error message:

 

>> Compilation failure

source/subdir_rules.mk:30: recipe for target 'source/xxxxxxx.obj' failed

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 84: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 90: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 91: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 98: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 99: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 100: error #18: expected a ")"

"C:/ti/ccsv7/tools/compiler/ti-cgt-c2000_16.9.3.LTS/include/string.h", line 104: error #18: expected a ")"

 

I’m a little confused, because the error is within the string.h –have you any idea how to solve this Problem?

  • All of those lines use the symbol "string", while none of the surrounding lines do.  So, I suspect that, before you #include <string.h>, your source code #define's "string" to something else.  

    If that guess is wrong, then please submit a test case as described in How to Submit a Compiler Test Case.  But submit one additional file.  Use the option --gen_preprocessor_listing to create a raw listing file.  Please read more about that option in the C2000 compiler manual.  You end up with a .rl file.  Before you attach it to your next forum post, please add the file extension .txt to it.

    Thanks and regards,

    -George