TI中文支持网
TI专业的中文技术问题搜集分享网站

TMS320C5535: 例程中#include <complex>,报很多无关的错误

Part Number:TMS320C5535

用ccs4中的spiflash例程,在main.c中#include <complex>,请协助

–preproc_dependency="main.pp" "../main.c"
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 14: error: identifier "class" is undefined
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 15: warning: explicit type is missing ("int" assumed)
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 15: error: expected a ")"
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 17: warning: explicit type is missing ("int" assumed)
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 17: error: expected a ")"
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/exception", line 21: error: identifier "class" is undefined

"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/new", line 10: error: identifier "class" is undefined
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/new", line 11: error: expected a ";"

"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/iosfwd", line 18: error: this declaration has no storage class or type specifier
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/iosfwd", line 18: error: expected a ";"
"C:/ti/ccsv4/ccsv4/tools/compiler/c5500/include/iosfwd", line 41: warning: parsing restarts here after previous syntax error

Shine:

hm hm 说:在main.c中#include <complex>

complex是什么文件?头文件的话,应该#include <complex.h>

,

hm hm:

你好shine,

没有.h的头文件

赞(0)
未经允许不得转载:TI中文支持网 » TMS320C5535: 例程中#include <complex>,报很多无关的错误
分享到: 更多 (0)