CW compiler does not find 'sprintf' prototype

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW compiler does not find 'sprintf' prototype

2,565 Views
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
Labels (1)
Tags (1)
0 Kudos
Reply
1 Reply

746 Views
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 Kudos
Reply