mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-31 19:24:42 +02:00
wolfssl/wolfcrypt/settings.h: use #warning, not #error, for "No configuration for wolfSSL detected, check header order", to avoid unnecessary breakage of old projects with nonstandard custom settings.
This commit is contained in:
@@ -336,10 +336,10 @@
|
||||
#include "os/networking/ssl/lite/cyassl_nucleus_defs.h"
|
||||
#elif !defined(BUILDING_WOLFSSL) && !defined(WOLFSSL_OPTIONS_H) && \
|
||||
!defined(WOLFSSL_CUSTOM_CONFIG)
|
||||
/* This error indicates that the settings header may not be included before
|
||||
/* This warning indicates that the settings header may not be included before
|
||||
* other wolfSSL headers. If you are using a custom configuration method,
|
||||
* define WOLFSSL_CUSTOM_CONFIG to override this error. */
|
||||
#error "No configuration for wolfSSL detected, check header order"
|
||||
#warning "No configuration for wolfSSL detected, check header order"
|
||||
#endif
|
||||
|
||||
#include <wolfssl/wolfcrypt/visibility.h>
|
||||
|
Reference in New Issue
Block a user