Hi everyone,
I'm using MCUXpresso 10.1.1, I need to use the strotok_r function in my code, I include string.h header file, but I get the following error/warning:
warning: implicit declaration of function 'strtok_r' [-Wimplicit-function-declaration]
error: undefined reference to `strtok_r'
Which steps must I follow? Is there any reference to use this function in MCUXpresso?
Many thanks
Biafra
Try using strtok() instead. Otherwise if you really need strtok_r(), then try using Newlib rather than the default Redlib C library. For more background information on C library support in MCUXpresso IDE, see the MCUXpresso IDE v10.1 User Guide, chapter 13, "C/C++ Library Support".
Regards,
MCUXpresso IDE Support
I will try your suggestion.
Many thanks
Biafra