Open inkstray opened 1 year ago
cc1: some warnings being treated as errors
Distributions enable -Werror by default now?? I didn't even know that was possible, it should be illegal. That will break a bunch more than this project.
As for fixing this, I guess this is using printf without a constant format string somewhere. We could fix that, or add -Wno-error somewhere in CFLAGS...
cc1: some warnings being treated as errors
Distributions enable -Werror by default now?? I didn't even know that was possible, it should be illegal. That will break a bunch more than this project.
As for fixing this, I guess this is using printf without a constant format string somewhere. We could fix that, or add -Wno-error somewhere in CFLAGS...
If the changes from PR #59 were used this should make NixOS successfully compile agbcc, OP is welcome to try those changes and see if it helps their problem
For clarification: NixOS specifically sets -Werror=format-security
, not -Werror
. Fedora does the same thing when building packages, and nix-shell
(the primary way to manage library dependencies for development on NixOS) uses the same compilation flags as "real" packages by design.
I don't have very much knowledge on topic of coding and such... so I'll post my log in hopes that I will receive some support in some way.