共2条
1/1 1 跳转至页
ADS1 请教ADS1.2编译的问题

问
我的程序原来在KEIL编译、仿真都可以的,最近要移植到ARM上,在ADS1.2下编译却出来一大堆的错误和警告,其中出现最多的是可重入函数,如下:
expected ';'or ',' - inserted ';'before 'reentrant'.
ucos_ii.h line 824
declaration lacks type/storage - calss(assuming 'int');'reentrant'
ucos_ii.h line 824
在源代码中824行是:void OSInit(void)reentrant;
在这里向各位请教一下出错的原因及如何解决,谢谢! 答 1: rereentrant好像不能在ADS下用吧
expected ';'or ',' - inserted ';'before 'reentrant'.
ucos_ii.h line 824
declaration lacks type/storage - calss(assuming 'int');'reentrant'
ucos_ii.h line 824
在源代码中824行是:void OSInit(void)reentrant;
在这里向各位请教一下出错的原因及如何解决,谢谢! 答 1: rereentrant好像不能在ADS下用吧
共2条
1/1 1 跳转至页