From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 63CBAC48BF6 for ; Mon, 4 Mar 2024 21:49:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 3540E60A79; Mon, 4 Mar 2024 21:49:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21GHNle1AW_X; Mon, 4 Mar 2024 21:49:25 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 487A760C31 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 487A760C31; Mon, 4 Mar 2024 21:49:25 +0000 (UTC) Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id E415C1BF94D for ; Mon, 4 Mar 2024 21:49:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id D02CC60A5A for ; Mon, 4 Mar 2024 21:49:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sxPZh5Hh24b8 for ; Mon, 4 Mar 2024 21:49:23 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=217.70.183.195; helo=relay3-d.mail.gandi.net; envelope-from=peter@korsgaard.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp3.osuosl.org CB2FD60C31 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org CB2FD60C31 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by smtp3.osuosl.org (Postfix) with ESMTPS id CB2FD60C31 for ; Mon, 4 Mar 2024 21:49:22 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id A82B160002; Mon, 4 Mar 2024 21:49:20 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1rhGBU-00GzHA-0J; Mon, 04 Mar 2024 22:49:20 +0100 From: Peter Korsgaard To: Fabrice Fontaine References: <20240304161953.3529614-1-fontaine.fabrice@gmail.com> Date: Mon, 04 Mar 2024 22:49:20 +0100 In-Reply-To: <20240304161953.3529614-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Mon, 4 Mar 2024 17:19:53 +0100") Message-ID: <87edcp1xcv.fsf@48ers.dk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-GND-Sasl: peter@korsgaard.com X-Mailman-Original-Authentication-Results: smtp3.osuosl.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Subject: Re: [Buildroot] [PATCH 1/1] package/libva: fix build with gcc 4.8 X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , buildroot@buildroot.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" >>>>> "Fabrice" == Fabrice Fontaine writes: > Fix the following build failure with gcc 4.8 raised since bump to > version 2.20.0 in commit e926c83928e08c0ecd6cd4383e1cca151a8a4d2c and > https://github.com/intel/libva/commit/4f5a4345fc9f92565763ca22026891475e3cf835: > ../va/va.c: In function 'va_new_opendriver': > ../va/va.c:695:9: error: 'for' loop initial declarations are only allowed in C99 mode > for (unsigned int i = 0; i < num_drivers; i++) > ^ > ../va/va.c:695:9: note: use option -std=c99 or -std=gnu99 to compile your code > Fixes: e926c83928e08c0ecd6cd4383e1cca151a8a4d2c > - http://autobuild.buildroot.org/results/b9dbd104fa05c59883d87f74e6522c55620a4252 > Signed-off-by: Fabrice Fontaine Committed, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot