On 3 May 2013 12:09, Ryan Hill <dirtye...@gentoo.org> wrote:
> Most of the bugs filed on the gcc 4.8 tracker so far have been caused by
> packages being built with -Werror.  I just noticed one package where the
> Makefile was being patched to remove -g from CXXFLAGS but -Werror on the same
> line was left in.  Just in case people weren't aware, building with -Werror is
> a bad idea and against policy*.  If you're fixing one of these bugs by
> silencing the warning be sure to remove the flag also.
>
> Thanks!
>
> https://bugs.gentoo.org/show_bug.cgi?id=werror
> http://blog.flameeyes.eu/2009/02/future-proof-your-code-dont-use-werror
>
>
>
> * said policy might not actually exist in writing outside of the mailing list.
>   still a bad idea though.
>
> --
> gcc-porting
> toolchain, wxwidgets
> @ gentoo.org

If this is a policy, it should be documented in our devmanual.
Personally I've always thought -Werror is a mistake in release code,
but was accepted practice. I've almost never actively removed it from
packages I maintain. That will change now, upon learning of this policy.

--
Cheers,

Ben | yngwin
Gentoo developer
Gentoo Qt project lead, Gentoo Wiki admin

Reply via email to