Skip to content

Tasking Warning#10265

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:qnx-fix
Apr 21, 2026
Merged

Tasking Warning#10265
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:qnx-fix

Conversation

@ejohnstown
Copy link
Copy Markdown
Contributor

Description

Tasking compiler does not support #warning and needs the #pragma message case where available. This will fix the wolfSSH QNX nightly from failing. Similar fix to PR #10225.

Testing

The test for the QNX build of wolfSSH.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

Tasking compiler does not support #warning and needs the #pragma message
case where available. This will fix the wolfSSH QNX nightly from
failing.
Copilot AI review requested due to automatic review settings April 20, 2026 17:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates compile-time warning emission to be compatible with the Tasking compiler (which doesn’t support #warning), preventing QNX wolfSSH nightly build failures.

Changes:

  • Wrap two existing #warning directives in settings.h with a compiler check.
  • Use #pragma message(...) for MSVC and Tasking as a fallback.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

MemBrowse Memory Report

No memory changes detected for:

@JacobBarthelmeh JacobBarthelmeh merged commit 98cd7fe into wolfSSL:master Apr 21, 2026
879 of 890 checks passed
@ejohnstown ejohnstown deleted the qnx-fix branch April 21, 2026 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants