Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Changing policy about -Werror
Date: Fri, 21 Sep 2018 22:33:06
Message-Id: a46f83a0-6ead-3dda-fa52-8289029d5eca@gentoo.org
In Reply to: Re: [gentoo-dev] Changing policy about -Werror by Richard Yao
1 Richard Yao schrieb:
2
3 >> To make code behave differently it needs substantial amount of code
4 >> to provide you an example. You need to him O2<->O3 behaviour delta
5 >> after all. But I will try (for a different warning, it should not matter
6 >> much).
7 > Thanks. I had been incorrect about -O3 giving not us some additional information for warnings. My apologies for the confusion.
8 >>
9 >> Below is a reduced example of a larger C++ program.
10 >> Many thanks to Ulya for providing recent example!
11
12 Not that it matters now, but there are examples of packages building at -O2
13 but failing to build at -O3 optimization levels, due to -Werror.
14
15 One is dev-libs/libcss: https://bugs.gentoo.org/626752
16
17
18 Best regards,
19 Chí-Thanh Christopher Nguyễn

Replies

Subject Author
Re: [gentoo-dev] Changing policy about -Werror Alon Bar-Lev <alonbl@g.o>