From ba59f1af1964748d8a794fd4a91a63ba150f234d Mon Sep 17 00:00:00 2001 From: Daniel Pouzzner Date: Mon, 9 Dec 2024 17:04:38 -0600 Subject: [PATCH] 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. --- wolfssl/wolfcrypt/settings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index 9316a92a2..487968043 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -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