Closed LeSuisse closed 2 years ago
Thanks for the report @LeSuisse. I'll see about a fix today.
@LeSuisse to clarify: how many errors are you seeing with -Wconversion
? I'd like to enable it globally for our own builds, but we do quite a bit of sizeof
/offsetof
arithmetic internally that'll need to be explicitly cast/refactored. If that site is the only one that's currently causing problems for Nix builds, I can do a smaller changeset fixing it first.
I only saw those 2 issues (it is the full build log in first post) but I did not investigate further. A local fix might enough :smile:
I think #170 should fix the specific warnings here. I can cut a release, if that'll make things easier on your end.
I just tested with the patch and it looks good (https://github.com/NixOS/nixpkgs/pull/173037), thanks!
Cutting a release is not necessary for nixpkgs
, we can pull the patch directly so there is no rush.
Excellent, good to know. We’ll probably do a release in a couple of weeks, then. Thanks again for reporting.
Sent from mobile. Please excuse my brevity.
On May 14, 2022, at 11:22 AM, Thomas Gerbet @.***> wrote:
Closed #169.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.
Hello,
A build failure/warning can be encountered when building with
-Wconversion
.https://github.com/trailofbits/pe-parse/blob/8d8daa5ccc3cae1a67a263d07e550bb05bae9e57/pe-parser-library/src/parse.cpp#L1780
The issue has been identified via the NixOS/nixpkgs project: