When I use CCS v6.0 debug a 28035 project, The result show me a wrong #258 invalid redeclaration of type name "MY_DEFINED_STRUCT". This struct is defined in a Head file. And I am sure that the name can not be re-defined.
Where the wrong happens?
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.
When I use CCS v6.0 debug a 28035 project, The result show me a wrong #258 invalid redeclaration of type name "MY_DEFINED_STRUCT". This struct is defined in a Head file. And I am sure that the name can not be re-defined.
Where the wrong happens?
This kind of error is often due to a preprocessor problem of some sort. And you can debug preprocessor problems with the build option --gen_acp_raw. Please read about this option in the C2000 compiler manual. Try to find out exactly how MY_DEFINED_STRUCT gets declared a second time.
Thanks and regards,
-George