Repository navigation
Suppress the Clang warning -Wsign-conversion - #142
Conversation
Yaraslaut
left a comment
There was a problem hiding this comment.
Thanks for the fix, I think that we should make sure to check via clang-tidy and also turn warnings as errors for such cases and fix them, otherwise we will have them again. Can you please ensure that in the CI we catch all such instances?
|
I just realized this is due to my patch #131. The original code assumed GCC, so MSVC would emit warnings about unrecognized pragmas. My patch changed it so the warning is only enabled when
Also, maybe we should add a ClangCL CI. |
|
@YexuanXiao agree that we should add a clang-cl to the CI, and clang-tidy as well to make sure that we simple fix such issues in the codebase |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #142 +/- ##
==========================================
- Coverage 88.50% 88.11% -0.40%
==========================================
Files 37 37
Lines 1792 1792
==========================================
- Hits 1586 1579 -7
- Misses 206 213 +7 🚀 New features to boost your workflow:
|
…g -Wsign-conversion.
libunicode/src/libunicode/emoji_presentation_scanner.c
Line 130 in 2f540d2