File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 349349 ((defined(BUILDING_WOLFSSL ) && defined(WOLFSSL_USE_OPTIONS_H )) || \
350350 (defined(BUILDING_WOLFSSL ) && defined(WOLFSSL_OPTIONS_H ) && \
351351 !defined(EXTERNAL_OPTS_OPENVPN )))
352- #warning wolfssl/options.h included in compiled wolfssl library object.
352+ #if !defined(_MSC_VER ) && !defined(__TASKING__ )
353+ #warning wolfssl/options.h included in compiled wolfssl library object.
354+ #else
355+ #pragma message("Warning: wolfssl/options.h included in compiled wolfssl library object.")
356+ #endif
353357#endif
354358
355359#ifdef WOLFSSL_USER_SETTINGS
369373 * an application build -- then your application can avoid this warning by
370374 * defining WOLFSSL_NO_OPTIONS_H or WOLFSSL_CUSTOM_CONFIG as appropriate.
371375 */
372- #warning "No configuration for wolfSSL detected, check header order"
376+ #if !defined(_MSC_VER ) && !defined(__TASKING__ )
377+ #warning "No configuration for wolfSSL detected, check header order"
378+ #else
379+ #pragma message("Warning: No configuration for wolfSSL detected, check header order")
380+ #endif
373381#endif
374382
375383/* Ensure WOLFSSL_DEBUG_CERTS is set when DEBUG_WOLFSSL is enabled, unless
You can’t perform that action at this time.
0 commit comments