Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi,
I tried to use 'strnlen' or 'strnlen_s' in MDK, no matter what 'Language C' standard I choose, the compiler throws
" warning: implicit declaration of function 'strnlen_s' is invalid in C99 [-Wimplicit-function-declaration]"
So, any method to eliminate this warning?
Thanks.
Thanks for the answer, what confuse me now:
1. It only throw warning, but not error. (May because my code is in compiling stage, hasn't go to link stage ?).
2. It always say 'C99', no matter what standard I choose.