Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jaxL6-0008DB-KS for mharc-grub-devel@gnu.org; Tue, 19 May 2020 04:11:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaxL5-0008Bb-IN for grub-devel@gnu.org; Tue, 19 May 2020 04:11:03 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:45199 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jaxL4-0003lV-6F for grub-devel@gnu.org; Tue, 19 May 2020 04:11:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1589875860; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=26csYla+vwqdrfTwF21Jcc7oyrN0BZi7FUEivelSb6k=; b=Iy4Vc5lLI8N+RQFDnK7T2VScSjnpWNAmT8qOB3s+LXjFz0u830BqdkXFCuMN7DcAoimNJ5 1kiSVUN/m35naUoPY+XOzQfpRuGNHLaG9lYxOsBpS/Gvi6ITKNK824+AtNn+rFGqLGMG2t oXKBYGO9EJsTpivcowPq7N+7glZNBOI= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-148-p4m9XMvwOgaIZpx0V06DxA-1; Tue, 19 May 2020 04:10:58 -0400 X-MC-Unique: p4m9XMvwOgaIZpx0V06DxA-1 Received: by mail-wr1-f71.google.com with SMTP id 37so6958380wrc.4 for ; Tue, 19 May 2020 01:10:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=26csYla+vwqdrfTwF21Jcc7oyrN0BZi7FUEivelSb6k=; b=eq9YuwluaFK8+WzKXi9qZGaKqxK90NUtfhfQLpuHyJ1UJfa+2NipBkWtoxuUvmm25t JpXPJrAnkNEOh1raYkmJcmVQ9VapSO7oFT1CQfElpxL/pTe5Ekc6frvhbWlgpKxSIKCE tLULPdaUU0x1Evwkax1FIYQaibQ42j9AJXx1Sv0wem5qk34LvhJNJWI+OucIQrdLjDNz nL0BoziUgP5x7UlrofWtNsmuY5CQ6k9A69P8oCbPQfJVENDcJK8oqBCf6A3q6I8aurgs ruOTfhR/fFLfsFm8DDqFRFu5c1VwWOCInoJrpv0f9bvV2KtmxZLsNbjZ9/4Cd08WpPHV iq2g== X-Gm-Message-State: AOAM533aAQeIiUI+GYaP8k/tx3XS+OVghLHh4UKFmvhUdty73Lt12eSN WmQpGXmCNw5gCXRwVLThD+7i70RmV4caVb3pBg6UroVapEAT24qYDVUXMF0vI/XnwoXnbOf/pej PBOL2Yyr8za8= X-Received: by 2002:a1c:e288:: with SMTP id z130mr4238887wmg.180.1589875857134; Tue, 19 May 2020 01:10:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw1DB5qn0VfkbYOkd2BQIvuKibPq8rEGLO56BT9BlSho+c/d7n1KjUzyr2aUvMu2JaqLVuQlg== X-Received: by 2002:a1c:e288:: with SMTP id z130mr4238850wmg.180.1589875856839; Tue, 19 May 2020 01:10:56 -0700 (PDT) Received: from ?IPv6:2a01:c50f:ab80:6700:527f:85b3:5615:ff0b? ([2a01:c50f:ab80:6700:527f:85b3:5615:ff0b]) by smtp.gmail.com with ESMTPSA id y3sm20130810wrt.87.2020.05.19.01.10.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 May 2020 01:10:55 -0700 (PDT) Subject: Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default To: Daniel Axtens , Daniel Kiper Cc: grub-devel@gnu.org, eschwartz@archlinux.org, floppym@gentoo.org, glaubitz@physik.fu-berlin.de, leif@nuviainc.com, olaf@aepfle.de, phcoder@gmail.com, pjones@redhat.com, ps@pks.im References: <20200513120251.9861-1-daniel.kiper@oracle.com> <20200513120251.9861-3-daniel.kiper@oracle.com> <87v9kyq7tj.fsf@dja-thinkpad.axtens.net> <20200518154952.snfclj26ibmbbkk3@tomti.i.net-space.pl> <87sgfwr90h.fsf@dja-thinkpad.axtens.net> From: Javier Martinez Canillas Message-ID: <1932a609-af11-4dc3-256c-a52ef65fbdc2@redhat.com> Date: Tue, 19 May 2020 10:10:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <87sgfwr90h.fsf@dja-thinkpad.axtens.net> Content-Language: en-US X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=205.139.110.120; envelope-from=javierm@redhat.com; helo=us-smtp-1.mimecast.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/18 23:56:10 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2020 08:11:03 -0000 Hello Daniel, On 5/19/20 3:47 AM, Daniel Axtens wrote: > Javier Martinez Canillas writes: > >> Hello Daniel, >> >> On 5/18/20 5:49 PM, Daniel Kiper wrote: >> >> [snip] >> >>>> >>>> Without this patch, clang-9 fails on the use of nested functions in >>>> commit cb2f15c54489 ("normal/main: Search for specific config files for >>>> netboot") - I'll send a fix for that shortly. If I revert that as a >>>> temporary measure, clang will build. >>> >>> Javier, could you take a look at this too? > > Javier, > > I think this is as simple as un-nesting the function, but you know the > code base better than me, so I'll leave it to you unless you > particularly want me to handle it. > Yes, that should be enough. I'll post a patch but I don't have a clang build environment so I would appreciate if you can test it. > Regards, > Daniel > Best regards, -- Javier Martinez Canillas Software Engineer - Desktop Hardware Enablement Red Hat