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 4DAA0C4332F for ; Wed, 1 Nov 2023 09:13:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id E228E6FBA2; Wed, 1 Nov 2023 09:13:58 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org E228E6FBA2 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 2dnC2MY8yWhr; Wed, 1 Nov 2023 09:13:56 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp3.osuosl.org (Postfix) with ESMTP id 43EF96FA82; Wed, 1 Nov 2023 09:13:55 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp3.osuosl.org 43EF96FA82 Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id D71EA1BF44A for ; Wed, 1 Nov 2023 09:13:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id A6C3E848BC for ; Wed, 1 Nov 2023 09:13:53 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A6C3E848BC X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wLy34DRDNAwZ for ; Wed, 1 Nov 2023 09:13:48 +0000 (UTC) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by smtp1.osuosl.org (Postfix) with ESMTPS id A6CCE848BA for ; Wed, 1 Nov 2023 09:13:46 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A6CCE848BA Received: by mail.gandi.net (Postfix) with ESMTPSA id A6C7C1C0006; Wed, 1 Nov 2023 09:13:43 +0000 (UTC) Received: from peko by dell.be.48ers.dk with local (Exim 4.96) (envelope-from ) id 1qy7IF-0053yl-0P; Wed, 01 Nov 2023 10:13:43 +0100 From: Peter Korsgaard To: Fabrice Fontaine References: <20231029085831.234005-1-fontaine.fabrice@gmail.com> Date: Wed, 01 Nov 2023 10:13:43 +0100 In-Reply-To: <20231029085831.234005-1-fontaine.fabrice@gmail.com> (Fabrice Fontaine's message of "Sun, 29 Oct 2023 09:58:31 +0100") Message-ID: <87lebhzvi0.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 Subject: Re: [Buildroot] [PATCH 1/1] package/pango: fix build with gcc >= 13 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: 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 >= 13: > In function 'find_best_lang_match_cached', > inlined from 'find_best_lang_match_cached' at ../pango/pango-language.c:501:1, > inlined from 'pango_language_get_scripts' at ../pango/pango-language.c:661:21: > ../pango/pango-language.c:518:12: error: array subscript 0 is outside array bounds of 'const void *[0]' {aka 'const void *[]'} [-Werror=array-bounds=] > 518 | *cache = result; > | ~~~~~~~^~~~~~~~ > In function 'pango_language_get_scripts': > cc1: note: source object is likely at address zero > cc1: some warnings being treated as errors > Fixes: > - http://autobuild.buildroot.org/results/e8b5a752a62621099942b29c1642747eef2930cb > Signed-off-by: Fabrice Fontaine Committed to 2023.08.x, thanks. -- Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot@buildroot.org https://lists.buildroot.org/mailman/listinfo/buildroot