[prev in list] [next in list] [prev in thread] [next in thread] 

List:       nix-dev
Subject:    Re: [nix-devel] Proposal: Globally set "-Wno-error" in Nixpkgs
From:       Alexey Shmalko <rasen.dubi () gmail ! com>
Date:       2018-03-13 20:00:07
Message-ID: 87fu53wxtk.fsf () gmail ! com
[Download RAW message or body]

Matthew Bauer <mjbauer95@gmail.com> writes:

> We frequently run into issues where some developer has set "-Werror"
> in their build script. This might be controversial but IMO this is
> almost always a bad idea. Warnings are warnings for a reason and
> should be read by developers but can largely be ignored by builders.
> Regardless, Nixpkgs does not have the resources to be fixing random
> packages warnings.

I support this.

Though "-Werror" is usually a good thing for development (especially
combined with "-Wall -Wextra"), but is a nightmare for a packager, for
warning are extremely compiler-dependent, change between compiler
versions, might be spurious, etc.

-- 
You received this message because you are subscribed to the Google Groups "nix-devel" \
group. To unsubscribe from this group and stop receiving emails from it, send an \
email to nix-devel+unsubscribe@googlegroups.com. To post to this group, send email to \
nix-devel@googlegroups.com. To view this discussion on the web visit \
https://groups.google.com/d/msgid/nix-devel/87fu53wxtk.fsf%40gmail.com. For more \
options, visit https://groups.google.com/d/optout.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic