关于Codewarrior For HC12 3.1版本的一个BUG

- UID
- 110295
- 性别
- 男
|
关于Codewarrior For HC12 3.1版本的一个BUG
我不确定这是否是一个BUG,但问题却是存在,情各位帮忙看一下如何解决。
#include /* common defines and macros */
#include /* derivative information */
#pragma LINK_INFO DERIVATIVE "mc9s12dp512"
uint a()
{
return 10;
}
void main(void) {
float p=a();
EnableInterrupts;
for(;;) {} /* wait forever */
}
The Error message is:
Link Error : L1822: symbol _FUFLOAT in file c:\codewarrior......\main.c.o is undefined.
Link Error : Link Failed |
|
|
|
|
|

- UID
- 110295
- 性别
- 男
|
To tgw_smile : 我不知道您说的是哪里的帮助,我就选择codewarrior界面中的帮助,
然后搜索ERROR1822,没有找到匹配的。 可否帮忙查一下?
To Bqyjqj : 各种强制转换都加过,无效。还可能是什么原因? |
|
|
|
|
|