Skip to content

liquidwar: drop -Werror (gcc-16 fix) - #568386

Merged
7c6f434c merged 1 commit into
NixOS:masterfrom
trofi:liquidwar-gcc-16-fix
Sep 29, 2026
Merged

7c6f434c merged 1 commit into
NixOS:masterfrom
trofi:liquidwar-gcc-16-fix

Conversation

@trofi

@trofi trofi commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Without the change liquidwar build fails on master as https://hydra.nixos.org/build/347153247:

p2p-node.c:912:7: error: variable 'send_i' set but not used [-Werror=unused-but-set-variable=]
  912 |   int send_i = 0;
      |       ^~~~~~
cc1: all warnings being treated as errors

Things done

@trofi trofi mentioned this pull request Sep 29, 2026
4 of 13 tasks
@nixpkgs-ci
nixpkgs-ci Bot requested a review from 7c6f434c September 29, 2026 21:13
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Sep 29, 2026

@whispersofthedawn whispersofthedawn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally seems fine. since the last release was in 2015, it seems like we should expect this to keep breaking due to new compiler warnings in the future, so i agree dropping the blanket -Werror seems correct.

Comment thread pkgs/by-name/li/liquidwar/package.nix Resolved
Without the change `liquidwar` build fails on `master` as
https://hydra.nixos.org/build/347153247:

```
p2p-node.c:912:7: error: variable 'send_i' set but not used [-Werror=unused-but-set-variable=]
  912 |   int send_i = 0;
      |       ^~~~~~
cc1: all warnings being treated as errors
```
@trofi
trofi force-pushed the liquidwar-gcc-16-fix branch from 77644a5 to 4734269 Compare September 29, 2026 21:37
@trofi

trofi commented Sep 29, 2026

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 568386
Commit: 47342693cedbc04330d2b75fa1a4b251f225776c


x86_64-linux

✅ 1 package built:
  • liquidwar

@7c6f434c
7c6f434c added this pull request to the merge queue Sep 29, 2026
Merged via the queue into NixOS:master with commit a846805 Sep 29, 2026
28 checks passed
@trofi
trofi deleted the liquidwar-gcc-16-fix branch September 29, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants