forked from wolfSSL/wolfssl
Added WOLFSSL_IGNORE_FILE_WARN
option to ignore warning for .c
files that do not need to be included.
This commit is contained in:
@@ -20,7 +20,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(WOLFSSL_BIO_INCLUDED)
|
#if !defined(WOLFSSL_BIO_INCLUDED)
|
||||||
|
#ifndef WOLFSSL_IGNORE_FILE_WARN
|
||||||
#warning bio.c does not need to be compiled seperatly from ssl.c
|
#warning bio.c does not need to be compiled seperatly from ssl.c
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
|
||||||
/*** TBD ***/
|
/*** TBD ***/
|
||||||
|
@@ -20,7 +20,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined(WOLFSSL_EVP_INCLUDED)
|
#if !defined(WOLFSSL_EVP_INCLUDED)
|
||||||
|
#ifndef WOLFSSL_IGNORE_FILE_WARN
|
||||||
#warning evp.c does not need to be compiled seperatly from ssl.c
|
#warning evp.c does not need to be compiled seperatly from ssl.c
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
|
|
||||||
static unsigned int cipherType(const WOLFSSL_EVP_CIPHER *cipher);
|
static unsigned int cipherType(const WOLFSSL_EVP_CIPHER *cipher);
|
||||||
|
@@ -46,7 +46,9 @@
|
|||||||
|
|
||||||
/* Check for if compiling misc.c when not needed. */
|
/* Check for if compiling misc.c when not needed. */
|
||||||
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
|
#if !defined(WOLFSSL_MISC_INCLUDED) && !defined(NO_INLINE)
|
||||||
|
#ifndef WOLFSSL_IGNORE_FILE_WARN
|
||||||
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
|
#warning misc.c does not need to be compiled when using inline (NO_INLINE not defined)
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user