Skip to content

Fix #51, do not assert when NDEBUG is set#81

Merged
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-51-no-asserts-with-ndebug
Dec 8, 2021
Merged

Fix #51, do not assert when NDEBUG is set#81
astrogeco merged 1 commit intonasa:mainfrom
jphickey:fix-51-no-asserts-with-ndebug

Conversation

@jphickey
Copy link
Copy Markdown
Contributor

@jphickey jphickey commented Dec 1, 2021

This effectively ignores CF_Assert checks in the code when it is compiled with NDEBUG. None of these checks should be needed after development.

In particular, this removes the use of the non-standard "unlikely" compiler extension that was used here.

Fixes #51

This effectively ignores CF_Assert checks in the code
when it is compiled with NDEBUG.  None of these checks
should be needed after development.

In particular, this removes the use of the non-standard
"unlikely" compiler extension that was used here.
@jphickey
Copy link
Copy Markdown
Contributor Author

jphickey commented Dec 1, 2021

This also affects old issues #22, #23

@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Dec 1, 2021
@astrogeco astrogeco added CCB:Approved and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Dec 8, 2021
@astrogeco
Copy link
Copy Markdown
Contributor

astrogeco commented Dec 8, 2021

CCB:2021-12-08 - APPROVED

  • open an issue to fix this "the right way"

@jphickey
Copy link
Copy Markdown
Contributor Author

jphickey commented Dec 8, 2021

Submitted #107 for the right fix

@astrogeco astrogeco merged commit a9cddc7 into nasa:main Dec 8, 2021
@jphickey jphickey deleted the fix-51-no-asserts-with-ndebug branch December 9, 2021 16:39
@skliper skliper added this to the Draco milestone Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants