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.

More questions in this forum