mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-02 21:54:45 +00:00
Without the change `gcc-14` build fails as:
$ nix build --impure --expr 'with import ./. {}; libliftoff_0_4.override { stdenv = gcc14Stdenv; }'
...
libliftoff> ../layer.c: In function 'liftoff_layer_create':
libliftoff> ../layer.c:20:48: error: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Werror=calloc-transposed-args]
libliftoff> 20 | layer->candidate_planes = calloc(sizeof(layer->candidate_planes[0]),
libliftoff> | ^
1.0 KiB
1.0 KiB