2 ms·
Exactly. -Werror for the normal make target is problematic. But -Werror for a dev target that e.g. CI uses to compile-test pull requests on known toolchains an
by isilofi 3y ago
Exactly. -Werror for the normal make target is problematic.
But -Werror for a dev target that e.g. CI uses to compile-test pull requests on known toolchains and distros that you explicitly intend to support is useful. The alternative would be tons of effort to skip -Werror but still have CI flag that pull request that introduces new warnings. Just having the build fail because -Werror is far simpler and less fragile.