Conversation
Fix two configure checks that fail on clang 16 due to unexpected errors: * Undefined type `uint8_t` by including `stdint.h`; and * Unused `sa_len_ptr` by incrementing the target of the pointer.
|
How are you building this against clang 16? I can successfully build |
I’m using staging after cad1b25 was merged, updating the default LLVM to 16. The configure test fails on Darwin with the following error (from |
toonn
left a comment
There was a problem hiding this comment.
On b9e9e44 I do get a reproducable failure when trying to build dante.override { inherit (llvmPackages_16) stdenv; }:
checking for sa_len type... no
configure: WARNING: unable to obtain sa_len type, exiting
error: builder for '/nix/store/h9vpcpw4a6pb74hcv1dk5y17z9jy1877-dante-1.4.3.drv' failed with exit code 1;
With this PR it's fixed both with and without stdenv override.
Description of changes
Fix two configure checks that fail on clang 16 due to unexpected errors:
uint8_tby includingstdint.h; andsa_len_ptrby incrementing the target of the pointer.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)