|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
学习使用ADS中,调试hello world就出问题了,请各位高手帮帮忙!
在工程里添加了main.c、系统初始化文件44binit.s ,函数库文件44blib.c.还有头文件44blib.h、44b.h、option.h
make 的时候出现错误:
Error : (Serious) C2322E: Expecting <declarator> or <type> but found '"C"'
stdcomp.h line 1490
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'class'
rwstderr.h line 45
Error : C2285E: expected ';' or ',' - inserted ';' before 'except_msg_string'
rwstderr.h line 45
Error : C2483E: Ancient form of initialisation, use '='
rwstderr.h line 45
Error : C2456E: undeclared name, inventing 'extern int public'
rwstderr.h line 46
Error : (Serious) C2282E: expected '}' - inserted before ':'
rwstderr.h line 46
Error : (Serious) C2432E: non-constant initialiser
rwstderr.h line 46
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 47
Error : C2285E: expected ';' or ',' - inserted ';' before 'except_msg_string'
rwstderr.h line 47
Error : C2285E: expected ')' or ',' - inserted ')' before '...'
rwstderr.h line 47
Error : (Serious) C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 47
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 47
Error : C2285E: expected ';' or ',' - inserted ';' before '...'
rwstderr.h line 47
Error : (Serious) C2322E: Expecting <declarator> or <type> but found '...'
rwstderr.h line 47
Error : C2285E: expected ')' or ',' - inserted ')' before '...'
rwstderr.h line 48
Error : C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 48
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 48
Error : C2285E: expected ';' or ',' - inserted ';' before '...'
rwstderr.h line 48
Error : (Serious) C2322E: Expecting <declarator> or <type> but found '...'
rwstderr.h line 48
Warning : C2214W: Old-style function 'msgstr'
rwstderr.h line 49
Error : (Serious) C2322E: Expecting <declarator> or <type> but found '{'
rwstderr.h line 49
Error : C2285E: expected ';' or ',' - inserted ';' before '{'
rwstderr.h line 49
Error : C2456E: undeclared name, inventing 'extern int __msg'
rwstderr.h line 49
Error : C3029E: 'return': implicit cast of non-0 int to pointer
rwstderr.h line 49
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'private'
rwstderr.h line 50
Error : C2285E: expected ';' or ',' - inserted ';' before ':'
rwstderr.h line 50
Error : (Serious) C2322E: Expecting <declarator> or <type> but found ':'
rwstderr.h line 50
Error : (Serious) C2933E: type disagreement for 'except_msg_string'
rwstderr.h line 52
Error : C2225W: declaration lacks type/storage-class (assuming 'int'): 'except_msg_string'
rwstderr.h line 52
Error : C2285E: expected ';' or ',' - inserted ';' before '&'
rwstderr.h line 52
Error : (Serious) C2322E: Expecting <declarator> or <type> but found '&'
rwstderr.h line 52
Error : (Fatal) C3047U: Too many errors
rwstderr.h line 53
stdcomp.h 、rwstderr.h是怎么回事?高手们帮帮忙,谢啦! |
|