Gentoo Archives: gentoo-user

From: P Levine <plevine457@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chromium 60 build failure
Date: Tue, 01 Aug 2017 04:30:35
Message-Id: CADX8ZBJ_CG2EGnE=PMO2FUH+pqzDAT2DOHTgTt2E08i2YjuPDQ@mail.gmail.com
In Reply to: [gentoo-user] chromium 60 build failure by Grant Edwards
1 On Mon, Jul 31, 2017 at 4:02 PM, Grant Edwards <grant.b.edwards@×××××.com>
2 wrote:
3
4 > ../../third_party/vulkan-validation-layers/src/loader/debug_report.c:50:5:
5 > error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode
6 >
7
8 ​As stated by others, switching to GCC-5 or newer would be best.
9 Otherwise, try adding ​"-std=c99" to your CFLAGS and "custom-cflags" to
10 your USE flags for the package and it should build.