diff --git a/src/bio.c b/src/bio.c index c558f38c8..cf91b218a 100644 --- a/src/bio.c +++ b/src/bio.c @@ -20,7 +20,9 @@ */ #if !defined(WOLFSSL_BIO_INCLUDED) - #warning bio.c does not need to be compiled seperatly from ssl.c + #ifndef WOLFSSL_IGNORE_FILE_WARN + #warning bio.c does not need to be compiled seperatly from ssl.c + #endif #else /*** TBD ***/ diff --git a/wolfcrypt/src/evp.c b/wolfcrypt/src/evp.c index 3d272007b..9e37abfa0 100644 --- a/wolfcrypt/src/evp.c +++ b/wolfcrypt/src/evp.c @@ -20,7 +20,9 @@ */ #if !defined(WOLFSSL_EVP_INCLUDED) - #warning evp.c does not need to be compiled seperatly from ssl.c + #ifndef WOLFSSL_IGNORE_FILE_WARN + #warning evp.c does not need to be compiled seperatly from ssl.c + #endif #else static unsigned int cipherType(const WOLFSSL_EVP_CIPHER *cipher); diff --git a/wolfcrypt/src/misc.c b/wolfcrypt/src/misc.c index 32b2f67aa..601434c9a 100644 --- a/wolfcrypt/src/misc.c +++ b/wolfcrypt/src/misc.c @@ -46,7 +46,9 @@ /* Check for if compiling misc.c when not needed. */ #if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE) - #warning misc.c does not need to be compiled when using inline (NO_INLINE not defined) + #ifndef WOLFSSL_IGNORE_FILE_WARN + #warning misc.c does not need to be compiled when using inline (NO_INLINE not defined) + #endif #else