You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#warning "No configuration for wolfSSL detected, check header order"
This usage is invalid on windows as cl does not recognize the #warning directive. This will result in build failure to what should amount as a warning to the user which seems to be unintended by the developers.
Reproduction steps
No response
Relevant log output
The text was updated successfully, but these errors were encountered:
In my case it has to do with importing a built library thru CMake. While the form of building is different. I think the codebase as a whole should properly handle #warning there are spots in the codebase where this is handled correctly but in other places it is not.
The #warning is handled as a #pragma message() in a few spots where we expect the compiler to hit. In that particular case, the library built with MSVC tools should always configure with WOLFSSL_USER_SETTINGS enabled, so it would be unexpected to hit that line. The application also needs to define WOLFSSL_USER_SETTINGS in order use the right wolfSSL configuration.
Contact Details
No response
Version
v5.7.6
Description
The codebase has heavy use of
#warning
e.gwolfssl/wolfssl/wolfcrypt/settings.h
Line 349 in 93000e5
This usage is invalid on windows as
cl
does not recognize the#warning
directive. This will result in build failure to what should amount as a warning to the user which seems to be unintended by the developers.Reproduction steps
No response
Relevant log output
The text was updated successfully, but these errors were encountered: