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

Use of asserts #1189

Closed
clyne opened this issue Jan 4, 2019 · 1 comment
Closed

Use of asserts #1189

clyne opened this issue Jan 4, 2019 · 1 comment
Labels
Developer Feature An internal feature that benefits code developers

Comments

@clyne
Copy link
Collaborator

clyne commented Jan 4, 2019

C "asserts" become no-ops when compiled in Release mode. Hence, execution will continue past an assert that would otherwise fail. asserts are often used in deeply nested code for which recovery is not practical. We should consider a custom assert that does not become a no-op in release builds

@clyne clyne added the Developer Feature An internal feature that benefits code developers label Jan 4, 2019
@clyne
Copy link
Collaborator Author

clyne commented Sep 20, 2021

Addressed with VAssert

@clyne clyne closed this as completed Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Developer Feature An internal feature that benefits code developers
Projects
None yet
Development

No branches or pull requests

1 participant