Gentoo Archives: gentoo-user

From: Nikos Chantziaras <realnc@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: chromium-65.0.3325.146 compilation warnings
Date: Mon, 12 Mar 2018 17:10:12
Message-Id: p86c54$v9a$1@blaine.gmane.org
In Reply to: [gentoo-user] chromium-65.0.3325.146 compilation warnings by Mick
1 On 12/03/18 10:17, Mick wrote:
2 > I can see a few warnings pilling up on different systems when trying to emerge
3 > chromium-65.0.3325.146:
4 >
5 > warning: unknown warning option '-Wno-enum-compare-switch'; did you mean '-
6 > Wno-enum-compare'? [-Wunknown-warning-option]
7 > warning: unknown warning option '-Wno-tautological-unsigned-zero-compare' [-
8 > Wunknown-warning-option]
9 > warning: unknown warning option '-Wno-null-pointer-arithmetic'; did you mean
10 > '-Wno-null-arithmetic'? [-Wunknown-warning-option]
11 > warning: unknown warning option '-Wno-tautological-constant-compare'; did you
12 > mean '-Wno-tautological-pointer-compare'? [-Wunknown-warning-option]
13 > 4 warnings generated.
14 >
15 > Does this mean I should be using a different gcc or CFLAGS?
16
17 No. What these warnings mean is that the chromium build system is
18 passing these options to the compiler:
19
20 -Wno-enum-compare-switch -Wno-tautological-unsigned-zero-compare
21 -Wno-null-pointer-arithmetic -Wno-tautological-constant-compare
22
23 but the compiler version installed on your system doesn't support them.
24
25 Your own CFLAGS got nothing to do with this. Furthermore, these warnings
26 are of no interest to you whatsoever, unless you're a chromium developer.
27
28 GCC 7.3 and Clang 6.0 do support these options, but if you're using a
29 version that doesn't, it's of no consequence. Warning options do not
30 affect code generation.

Replies

Subject Author
Re: [gentoo-user] Re: chromium-65.0.3325.146 compilation warnings Mick <michaelkintzios@×××××.com>