You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling mbed-os-6.4.0 results in warnings about implicit declarations of memset and strlen in error.c on lines 224 and 581, respectively. This is because string.h is not included in the source file. Actually, the include for string.h is embedded in a conditional compilation directive on line 28: string.h will be included if the MBEDTLS_ERROR_STRERROR_DUMMY macro is defined. However, the MBEDTLS_ERROR_STRERROR_DUMMY macro is not defined.
The text was updated successfully, but these errors were encountered:
<string.h> is actually needed when MBEDTLS_ERROR_C is enabled and not
when only MBEDTLS_ERROR_STRERROR_DUMMY is enabled.
FixMbed-TLS#3866.
Signed-off-by: Gilles Peskine <[email protected]>
Description
Compiling mbed-os-6.4.0 results in warnings about implicit declarations of
memset
andstrlen
in error.c on lines 224 and 581, respectively. This is becausestring.h
is not included in the source file. Actually, the include forstring.h
is embedded in a conditional compilation directive on line 28:string.h
will be included if theMBEDTLS_ERROR_STRERROR_DUMMY
macro is defined. However, theMBEDTLS_ERROR_STRERROR_DUMMY
macro is not defined.The text was updated successfully, but these errors were encountered: