Gentoo Archives: gentoo-dev

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: -Werror unwanted?
Date: Mon, 14 May 2012 23:54:06
Message-Id: jos5s6$fvd$
In Reply to: Re: [gentoo-dev] -Werror unwanted? by "Chí-Thanh Christopher Nguyễn"
On 14/05/12 23:42, Chí-Thanh Christopher Nguyễn wrote:
>>> 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. >> >> Upstream does not need to take into account warnings produced by >> compilers for lesser known architectures, as explained above. > > These warnings could be harmless or introduce silent breakage. The user > often can't tell.
You can have breakage without any warnings being emitted, and you can have warnings that result in no breakage whatsoever. Furthermore, -Werror on Gentoo makes zero sense; portage will already produce a QA notice with warnings that have the potential to result in breakage. -Werror is not needed.