1 |
hasufell schrieb: |
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 |
|
11 |
-Werror is basically saying that it is not safe to ship code which |
12 |
produces warnings. |
13 |
|
14 |
I personally think that if an upstream says that no warnings must be |
15 |
produced by the code, and a developer should look at them before |
16 |
declaring any warnings safe, then that is best followed. |
17 |
|
18 |
However this causes a heavy maintenance burden and will frequently break |
19 |
compilation, so the majority opinion is to remove -Werror from compiler |
20 |
flags. |
21 |
|
22 |
|
23 |
Best regards, |
24 |
Chí-Thanh Christopher Nguyễn |