On Sep 12, 2018, at 4:28 PM, Andreas K. Huettel <dilfri...@gentoo.org> wrote:
>> If a package really ought to have
>> -Werror due to a very good reason and is properly maintained to support it,
>> then there is nothing wrong with inventing a USE flag to give users the
>> option of enforcing that.
>
> There is something very *much* wrong with that.
>
> 1) It's trivial to enforce -Werror via the packages.env mechanism on specific
> packages (e.g. those that you maintain).
That really does not help the users see which packages explicitly support
-Werror if they want it.
>
> 2) Compared to that, an additional useflag introduces a lot of unnecessary
> overhead at the package manager level *and* requires yet another level of
> policies and Gentoo-specific definitions.
It occurs to me that this is really a debug feature, so it really ought to be
turned on for USE=debug. Use of USE=debug in production is largely discouraged,
so this could be fine. However, this is very much a case by case thing.
>
> --
> Andreas K. Hüttel
> dilfri...@gentoo.org
> Gentoo Linux developer
> (council, toolchain, perl, libreoffice, comrel)
>
>
>