-

@ Haelwenn /элвэн/ :triskell:
2025-02-24 20:00:09
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpqr8wjyp2urdyxn6g7gsvcjwapyj3aazs8kgnyaqe4d2sau05kn00qy52jmd I think the only one where I'm okay with Werror by default is meson because thanks to it being standard it's easy to disable, or with ones explicitly turning specific warnings into errors like with -Werror=implicit-function-declaration when compiler supports the flag.
Meanwhile I'd had to sed a lot of weird buildsystems to get rid of Werror, which absolutely needs to go away when packaging because it's just never the compiler/libraries/… that upstream uses.
Or even the same CFLAGS, like I have -Wall in mine set to see most warnings, if you add -Werror on top of that the build is going to fail for things that barely matter (hence why they are warnings).
And packaging tools like Gentoo's portage extracts warning messages from build logs so important warning don't get ignored, and I guess binary-based distros could have few -Werror=… flags instead but effectively still disable Werror.