This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using 'strnlen' or 'strnlen_s' with MDK AC6

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.