CW compiler does not find 'sprintf' prototype

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW compiler does not find 'sprintf' prototype

2,569件の閲覧回数
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 返信

750件の閲覧回数
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 件の賞賛
返信