Gentoo Archives: gentoo-user

From: Grant Edwards <grant.b.edwards@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: chromium 60 build failure
Date: Mon, 31 Jul 2017 21:01:12
Message-Id: olo5pr$43o$1@blaine.gmane.org
In Reply to: Re: [gentoo-user] chromium 60 build failure by Mateusz Lenik
1 On 2017-07-31, Mateusz Lenik <mlen@××××.pl> wrote:
2 > On Mon, Jul 31, 2017 at 08:02:34PM +0000, Grant Edwards wrote:
3 >> ../../third_party/vulkan-validation-layers/src/loader/debug_report.c:50:5:
4 >> note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to
5 >> compile your code
6 >> ../../third_party/vulkan-validation-layers/src/loader/debug_report.c: In function ‘util_CreateDebugReportCallbacks’:
7 >> ../../third_party/vulkan-validation-layers/src/loader/debug_report.c:235:5: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
8 >
9 > Most likely gcc-4.9 defaults to older C standard (C89, I guess).
10 > The easiest way to solve this would be to update your gcc to 5.4,
11
12 One of these days when I have the time...
13
14 > otherwise you'd have to pass one of the suggested flags to the
15 > compiler somehow.
16
17 Aren't required gcc versions and/or flags supposed to be specified
18 in the ebuild?
19
20 --
21 Grant Edwards grant.b.edwards Yow! We're going to a
22 at new disco!
23 gmail.com

Replies

Subject Author
Re: [gentoo-user] Re: chromium 60 build failure Rich Freeman <rich0@g.o>
Re: [gentoo-user] Re: chromium 60 build failure Mart Raudsepp <leio@g.o>