-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
[sentry-native] Fix windows usage #1005
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1005 +/- ##
==========================================
- Coverage 86.53% 83.83% -2.71%
==========================================
Files 40 53 +13
Lines 3736 5443 +1707
Branches 0 1207 +1207
==========================================
+ Hits 3233 4563 +1330
- Misses 503 767 +264
- Partials 0 113 +113 |
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.
Thanks, @JonLiu1993. The reason for excluding MSVC
here is because, by default, crashpad
uses a vendored zlib
when building on MSVC
:
Adding a system dependency to the consuming project when the build uses a vendored version fixes the wrong problem.
How about you check for CRASHPAD_ZLIB_SYSTEM
instead? Would that fix the issue? The initial committer probably wanted to exclude that case without worrying about propagating the value from the crashpad
project to sentry-native
. If you wish to check on CRASHPAD_ZLIB_SYSTEM
in the exported config, you'd also have to define the option in sentry-native
.
Outdated, invalid. |
Hi @dg0yt and @JonLiu1993, can you minimally explain why this PR is no longer valid? Or provide a link to a |
@supervacuus, VCPKG has updated sentry-native to 0.7.6 a few days ago. I thought this PR had been merged into it. I checked and found that it was not. I reopened this PR. Sorry for the confusion. |
It incorrectly reverts |
Cf. #1011 for all recent comments transformed into a PR. |
True, I saw that, but that could have been fixed here.
This includes the proposed feedback from here, so can we close this? |
required changes introduced here: #1013 |
Hi!
I have two issues regarding the using of the sentry-native port.
sentry-native
as vcpkg dependency, i'm getting this error:This problem can be solved by adding additional project dependency for zlib in vcpkg.
Related issue:#596
microsoft/vcpkg#39114