Use -Werror when building in CI#17781
Conversation
|
Will you fix the current warnings in this PR before merging it? |
Yes sure, otherwise it would be red. Done. |
|
Codecov Report
@@ Coverage Diff @@
## master #17781 +/- ##
=======================================
Coverage 40.19% 40.19%
=======================================
Files 1130 1130
Lines 357315 357313 -2
=======================================
+ Hits 143616 143624 +8
+ Misses 213699 213689 -10
Continue to review full report at Codecov.
|
|
Should fix the capstone compilation error: capstone-engine/capstone#1695 |
Until that is not merged, I removed the -Werror from acr builds (as those pass the cflags to capstone as well) so we can merge this and extend it once capstone fix lands upstream. |
|
Unrelated to this PR, but some useful warnings from MSVC: And some from clang-cl: |
|
And one in WinDbg code cc @GustavoLCR @yossizap |
|
🎉 |
|
It broke Capstone 3 builds. Maybe we should just silently skip instead of emitting a |
|
We could try |
Closing issues
Closes #17780