-
Notifications
You must be signed in to change notification settings - Fork 970
Tasking Warning #10263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tasking Warning #10263
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -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 | ||
|
Comment on lines
+376
to
+380
|
||
| #endif | ||
|
|
||
| /* Ensure WOLFSSL_DEBUG_CERTS is set when DEBUG_WOLFSSL is enabled, unless | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#pragma message("...")is MSVC-style syntax, but this branch also covers__TASKING__. If TASKING expects a different pragma-message form (commonly#pragma message "..."without parentheses), this may still fail on TASKING. Consider splitting the branches so_MSC_VERand__TASKING__each use the exact syntax supported by their compiler, rather than sharing a single#pragma messagespelling.