We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.