Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Chí-Thanh Christopher Nguyễn <chithanh@g.o>
Subject: Re: -Werror unwanted?
Date: Mon, 14 May 2012 18:01:22 +0200
hasufell schrieb:
> https://bugs.gentoo.org/show_bug.cgi?id=260867
>
> However, I don't see references to ebuild policy (in devmanual or
> howtos) how to handle Werror.
>
> Is there a common opinion on that. And shouldn't we add that to the
> documentation then?
>

-Werror is basically saying that it is not safe to ship code which
produces warnings.

I personally think that if an upstream says that no warnings must be
produced by the code, and a developer should look at them before
declaring any warnings safe, then that is best followed.

However this causes a heavy maintenance burden and will frequently break
compilation, so the majority opinion is to remove -Werror from compiler
flags.


Best regards,
Chí-Thanh Christopher Nguyễn



Replies:
Re: -Werror unwanted?
-- Jeroen Roovers
References:
-Werror unwanted?
-- hasufell
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
-Werror unwanted?
Next by thread:
Re: -Werror unwanted?
Previous by date:
-Werror unwanted?
Next by date:
Re: Stability of /sys api


Updated Jun 23, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.