-
Notifications
You must be signed in to change notification settings - Fork 278
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
meson CI additions #2505
meson CI additions #2505
Conversation
👇 Click on the image for a new way to code review
Legend |
5fc8b0e
to
db1c398
Compare
...interesting |
60e15b3
to
b54b5f8
Compare
Codecov Report
@@ Coverage Diff @@
## main #2505 +/- ##
==========================================
- Coverage 64.67% 64.45% -0.22%
==========================================
Files 104 104
Lines 22260 22385 +125
Branches 10848 10926 +78
==========================================
+ Hits 14397 14429 +32
- Misses 5622 5707 +85
- Partials 2241 2249 +8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
4081967
to
c24f829
Compare
2301003
to
e333386
Compare
These are the wrong way around. MSVC warns with /W4. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes MSVC warning. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes MSVC's warning C4706: assignment within conditional expression Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes warning C4702: unreachable code No other way to make all compilers gappy. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Suggested by MSVC. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes: bugprone-integer-division Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with bugprone-assignment-in-if-condition Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Found with bugprone-not-null-terminated-result Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
fixes internal MSVC libc++ warnings Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Forgotten when adding xmp support. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Useful for CI. Signed-off-by: Rosen Penev <rosenp@gmail.com>
A rebasing error got rid of this. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
if (data2_ < other.data2_) | ||
return true; | ||
else if (data2_ == other.data2_) { | ||
if (data2_ == other.data2_) { | ||
if (data3_ < other.data3_) |
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.
Would you mind to take this opportunity to add the brackets were they are missing? It looks super confusing to have some ifs/elses with them and other without.
return {}; | ||
if (metadataId == mdExif) | ||
return r->exifSupport_; | ||
if (metadataId == mdIptc) |
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.
[question] I see why you are making this change (I have been there and done this 😛 ) . However, would it not make more sense to have else if
statements after the first if ?
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.
Not really. else after return is redundant.
I see that many of the changes here are also present in #2508. Is this intended or was it an accident? Which PR do you plan to merge first? |
I'll merge this one. The other contains fixes exposed by enabling W4 on MSVC which I then rebased this on it too see how many warnings went away. I'll handle the remaining ones later. |
No description provided.