CW compiler does not find 'sprintf' prototype

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

CW compiler does not find 'sprintf' prototype

2,564 次查看
stefat
Contributor I
I wish to use a sprintf function and during compile I get the error message 'function has no prototype'.
For your info I am using CW for 56800/E version 8.0, with target CPU: 56F801FA60
Attached the CW page with error and code shown.
 
Is there anyone who can help ?
Thanks
Stefat
标签 (1)
标记 (1)
0 项奖励
回复
1 回复

745 次查看
CompilerGuru
NXP Employee
NXP Employee
did you include stdio.h?


#include <stdio.h>

If you did, check the preprocessor listing to see if you get the right stdio.h.

Daniel
0 项奖励
回复