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

WASSERT should have the do/while statement wrap the entire if-statement #4

Open
rwy7 opened this issue Aug 27, 2019 · 0 comments
Open

Comments

@rwy7
Copy link

rwy7 commented Aug 27, 2019

In the definition of WASSERT, the do-while should wrap the entire macro expansion, to avoid polluting external control-flow. Here's some weird code that compiles.

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

No branches or pull requests

1 participant