MQX-Lite klog printf warning

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

MQX-Lite klog printf warning

583 Views
davidsherman
Senior Contributor I

I'm not sure if this is the right place to submit this, but we're seeing a warning when compiling our project using the Processor Expert version of MQX-Lite.  We're using KDS 3.0.0 and have kernel logging enabled.  When it's built, it shows these warnings in klog.c:

implicit declaration of function 'printf' - line 345

incompatible implicit declaration of built-in function 'printf' -line 345

incompatible implicit declaration of built-in-function 'printf' - line 636

0 Kudos
1 Reply

304 Views
soledad
NXP Employee
NXP Employee

Hello David,

These warnings are related to missing definition of “stdin” and “stdout”. Please verify you have MQX_SUPPRESS_STDIO_MACROS = 0

pastedImage_5.png

Please let me know if this helps!!


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos