Skip to content
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

Fix #1324, Fix #1325, cppcheck updates #1336

Merged
merged 2 commits into from
Nov 17, 2022
Merged

Conversation

jphickey
Copy link
Contributor

Checklist (Please check before submitting)

Describe the contribution
Passes a cmake configuration so cppcheck can use the exported commands, allowing it to use all header files that the actual build uses.

Also Resolves a number of other issues reported by cppcheck

Fixes #1324
Fixes #1325

Testing performed
Build and run tests
Verify results of static analysis workflow

Expected behavior changes
Static analysis workflow should be clean

System(s) tested on
Github workflow

Contributor Info - All information REQUIRED for consideration of pull request
Joseph Hickey, Vantage Systems, Inc.

Passes a cmake configuration so cppcheck can use the exported commands,
allowing it to use all header files that the actual build uses.
@jphickey jphickey changed the title Fix #1324 and #1325, cppcheck updates Fix #1324, Fix #1325, cppcheck updates Nov 17, 2022
@dzbaker dzbaker self-requested a review November 17, 2022 20:58
@dzbaker dzbaker added CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) CCB:FastTrack labels Nov 17, 2022
Resolves a number of issues reported by cppcheck.
@jphickey
Copy link
Contributor Author

Force pushed just to get github to re-run the "PR title format check" ...

dzbaker added a commit to nasa/cFS that referenced this pull request Nov 17, 2022
*Combines:*

osal v6.0.0-rc4+devtbd

**Includes:**

*cFS*
- #598
- #611

*osal*
- nasa/osal#1335
- nasa/osal#1329
- nasa/osal#1336

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Justin Figueroa <chillfig@users.noreply.github.com>
Co-authored by: Ariel Adams <arielsadamsnasa@users.noreply.github.com>
Co-authored by: Daniel Knutsen <dmknutsen@users.noreply.github.com>
@dzbaker dzbaker mentioned this pull request Nov 17, 2022
2 tasks
@dzbaker dzbaker merged commit afa10ab into nasa:main Nov 17, 2022
dzbaker added a commit to nasa/cFS that referenced this pull request Nov 17, 2022
*Combines:*

osal v6.0.0-rc4+dev161

**Includes:**

*cFS*
- #598
- #611

*osal*
- nasa/osal#1335
- nasa/osal#1329
- nasa/osal#1336

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Justin Figueroa <chillfig@users.noreply.github.com>
Co-authored by: Ariel Adams <arielsadamsnasa@users.noreply.github.com>
Co-authored by: Daniel Knutsen <dmknutsen@users.noreply.github.com>
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Dec 1, 2022
@jphickey jphickey deleted the fix-1324-cppcheck branch December 8, 2022 22:07
@dmknutsen dmknutsen added this to the Draco milestone Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB CCB:FastTrack draco-rc4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Additional errors reported by new cppcheck Cppcheck flagging UT_DEFAULT_STUB as unknown macro
3 participants