mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-07 00:30:51 +02:00
Tasking Warning
Tasking compiler does not support #warning and needs the #pragma message case where available. This will fix the wolfSSH QNX nightly from failing.
This commit is contained in:
@@ -349,7 +349,11 @@
|
||||
((defined(BUILDING_WOLFSSL) && defined(WOLFSSL_USE_OPTIONS_H)) || \
|
||||
(defined(BUILDING_WOLFSSL) && defined(WOLFSSL_OPTIONS_H) && \
|
||||
!defined(EXTERNAL_OPTS_OPENVPN)))
|
||||
#warning wolfssl/options.h included in compiled wolfssl library object.
|
||||
#if !defined(_MSC_VER) && !defined(__TASKING__)
|
||||
#warning wolfssl/options.h included in compiled wolfssl library object.
|
||||
#else
|
||||
#pragma message("Warning: wolfssl/options.h included in compiled wolfssl library object.")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef WOLFSSL_USER_SETTINGS
|
||||
@@ -369,7 +373,11 @@
|
||||
* an application build -- then your application can avoid this warning by
|
||||
* defining WOLFSSL_NO_OPTIONS_H or WOLFSSL_CUSTOM_CONFIG as appropriate.
|
||||
*/
|
||||
#warning "No configuration for wolfSSL detected, check header order"
|
||||
#if !defined(_MSC_VER) && !defined(__TASKING__)
|
||||
#warning "No configuration for wolfSSL detected, check header order"
|
||||
#else
|
||||
#pragma message("Warning: No configuration for wolfSSL detected, check header order")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Ensure WOLFSSL_DEBUG_CERTS is set when DEBUG_WOLFSSL is enabled, unless
|
||||
|
||||
Reference in New Issue
Block a user