Gentoo Archives: gentoo-dev

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] -Werror unwanted?
Date: Mon, 14 May 2012 16:14:34
Message-Id: 1337012016.30174.8.camel@rook
In Reply to: [gentoo-dev] -Werror unwanted? by hasufell
1 On Mon, 2012-05-14 at 17:44 +0200, hasufell wrote:
2 > https://bugs.gentoo.org/show_bug.cgi?id=260867
3 >
4 > However, I don't see references to ebuild policy (in devmanual or
5 > howtos) how to handle Werror.
6 >
7 > Is there a common opinion on that. And shouldn't we add that to the
8 > documentation then?
9
10 -Werror is unwanted in anything that links to glib, gtk+, or other gnome
11 libraries. This is because gnome upstream developers have been adding
12 compiler warnings for usage of deprecated API which, despite being
13 deprecated, will in all likelihood remain supported for years; -Werror
14 turns those warnings into fatal build errors, and tracking down all
15 instances of deprecated API use twice a year (after a new version of
16 gnome is released) increases maintenance burden for little benefit.
17
18 -Alexandre.

Replies

Subject Author
Re: [gentoo-dev] -Werror unwanted? hasufell <hasufell@g.o>