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.
如题出现100个 这种类似的错误,进去源文件看了发现没错!!!!!!!
出现错误 如:D:/TI /C6000 Code Generation ToolS 7.4.1 /Include /exception" , line 11:error #18:expected a")"
D:/TI /C6000 Code Generation ToolS 7.4.1 /Include /new" , line 108:error #66:expected a ";"
D:/TI /C6000 Code Generation ToolS 7.4.1 /Include /iosfwd" , line 103:error #171:expected a declaration
.........................................
100个这种错误,找不出原因 ,这种头文件是TI公司自带的!
在我的工程中加了一个.cpp文件,加了就出现这种错误,不加就不出现,整个project里面都是.c的文件,但是把加进去的.cpp改成.c文件, 依然出现这种错误。
请问这种错误时什么原因导致的呢?
加入project的文件时没有错误的。
你好,你现在知道问题具体出在哪里了嘛?我现在也是遇到了一样的问题,include了math.h就会提示出现error: expected a ")"的错误。我把math.h注释掉,就没有错误了,但是我后面要用到log10函数,所以会有warning,很尴尬