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: #10008-D: cannot find file "typedef"

Hello All,

I made some changes to a code I had working over the weekend, and when I went to compile it, I found a new error:

ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/include/stdint.h", line 42: error #10008-D: cannot find file "typedef"

The error persists for all sorts of (usually) pre-defined "functions", including "signed", "char", "short" and"long." I assume I must have changed some setting or something without noticing. Does anyone have any idea how I can go back?

  • I don't know what is wrong.  Add the option --verbose_diagnostics to the build.  That causes the compiler to echo the problem source line with a ^ character underneath the spot in the source line where the problem starts.  This often makes the problem easy to spot.

    Thanks and regards,

    -George