-
Notifications
You must be signed in to change notification settings - Fork 274
Silence Visual Studio warnings for generated or lexer/parser code [blocks: #2310, #2551] #3425
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
Conversation
Should these all be push/pop'd so as to scope them to just the generated code, not anyone including them? (Or do they not generate header files?) |
Nitpick: to avoid the Catch changes getting thrown away whenever we upgrade to the latest Catch version, how about introducing an intermediate header (say |
I have just checked: no, these do not end up in generated header files used by non-generated code, just in the generated lexer and parser. |
eb3dbf3
to
36e2aed
Compare
This is now done. I might actually put together a separate PR actually updating the header file, the one GCC-8 related local fix that we have has been addressed in Catch 2.x. This change, however, did considerable increase the size of this PR, please review commit-by-commit. |
a8bbe9d
to
b606e41
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: b606e41).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/93273944
Ensure proper dependencies on json.dir [blocks: #3425]
Add missing module_dependencies.txt files [blocks: #3425]
b606e41
to
db38a2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: db38a2a).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/93282606
0c392b2
to
abc4253
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: 0c392b2).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/96191957
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: abc4253).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/96203327
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
abc4253
to
d678150
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫
This PR failed Diffblue compatibility checks (cbmc commit: d678150).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/96283008
Status will be re-evaluated on next push.
Please contact @peterschrammel, @thk123, or @allredj for support.
Common spurious failures:
- the cbmc commit has disappeared in the mean time (e.g. in a force-push)
- the author is not in the list of contributors (e.g. first-time contributors).
The incompatibility may have been introduced by an earlier PR. In that case merging this
PR should be avoided unless it fixes the current incompatibility.
d678150
to
780989f
Compare
237ad7f
to
39c4ebb
Compare
This PR is now restricted to just silencing warnings in flex/bison generated code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: 39c4ebb).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/98387964
It's a bit weird having the comments below the thing that they explain - the normal convention is to do the opposite |
39c4ebb
to
ffe36ab
Compare
Ack, I'm not actually sure why I had done it that way. I've fixed this now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✔️
Passed Diffblue compatibility checks (cbmc commit: ffe36ab).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/99182850
…on in lexer Flex generates definitions before system headers are included, and tokens result in signed/unsigned comparison.
ffe36ab
to
c3d3b6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR failed Diffblue compatibility checks (cbmc commit: c3d3b6a).
Build URL: https://travis-ci.com/diffblue/test-gen/builds/104501738
Status will be re-evaluated on next push.
Common spurious failures:
-
the cbmc commit has disappeared in the mean time (e.g. in a force-push)
-
the author is not in the list of contributors (e.g. first-time contributors).
-
the compatibility was already broken by an earlier merge.
There is very little we can do about those warnings.