Skip to content

Conversation

@ryandesign
Copy link
Contributor

Using -Werror can cause builds to fail when using unexpected compilers.

For example: https://trac.macports.org/ticket/71354

By all means, manually add -Werror to your CI if you want to ensure warning-free builds using compilers you're testing, but don't force it on your users and make their builds fail just because they're using a compiler that has a warning you didn't anticipate.

Using -Werror can cause builds to fail when using unexpected compilers.
alyssais added a commit to NixOS/nixpkgs that referenced this pull request Nov 30, 2024
-Werror isn't suitable for distro builds because it means new
breakages can appear before upstream has a chance to do anything about
them, and they might not be worth failing the build over.

Fixes building for musl.

Link: cisco/openh264#3809
@BenzhengZhang BenzhengZhang merged commit edbef4d into cisco:master Dec 3, 2024
8 checks passed
@ryandesign ryandesign deleted the patch-1 branch December 3, 2024 08:31
irieger added a commit to irieger/conan-center-index that referenced this pull request Aug 2, 2025
jcar87 pushed a commit to conan-io/conan-center-index that referenced this pull request Aug 4, 2025
jeremydumais pushed a commit to jeremydumais/conan-center-index that referenced this pull request Oct 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants