Gentoo Archives: gentoo-user

From: Mateusz Lenik <mlen@××××.pl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] chromium 60 build failure
Date: Mon, 31 Jul 2017 20:16:07
Message-Id: 20170731201554.GA16379@raven.aquila.re
In Reply to: [gentoo-user] chromium 60 build failure by Grant Edwards
1 On Mon, Jul 31, 2017 at 08:02:34PM +0000, Grant Edwards wrote:
2 > ../../third_party/vulkan-validation-layers/src/loader/debug_report.c:50:5:
3 > note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to
4 > compile your code
5 > ../../third_party/vulkan-validation-layers/src/loader/debug_report.c: In function ‘util_CreateDebugReportCallbacks’:
6 > ../../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
7
8 Most likely gcc-4.9 defaults to older C standard (C89, I guess).
9 The easiest way to solve this would be to update your gcc to 5.4,
10 otherwise you'd have to pass one of the suggested flags to the compiler
11 somehow.
12
13 --
14 mlen

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-user] Re: chromium 60 build failure Grant Edwards <grant.b.edwards@×××××.com>
[gentoo-user] upgrading to gcc-f (was: chromium 60 build failure) allan gottlieb <gottlieb@×××.edu>