Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1jByxR-0001CA-8t for mharc-grub-devel@gnu.org; Wed, 11 Mar 2020 06:51:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49691) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jByxN-0001Be-Lw for grub-devel@gnu.org; Wed, 11 Mar 2020 06:51:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jByxM-00089U-LR for grub-devel@gnu.org; Wed, 11 Mar 2020 06:51:21 -0400 Received: from dibed.net-space.pl ([84.10.22.86]:58768) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.71) (envelope-from ) id 1jByxL-0007cV-QB for grub-devel@gnu.org; Wed, 11 Mar 2020 06:51:20 -0400 Received: from router-fw.i.net-space.pl ([192.168.52.1]:40794 "EHLO tomti.i.net-space.pl") by router-fw-old.i.net-space.pl with ESMTP id S1818874AbgCKKjL (ORCPT ); Wed, 11 Mar 2020 11:39:11 +0100 X-Comment: RFC 2476 MSA function at dibed.net-space.pl logged sender identity as: dkiper Date: Wed, 11 Mar 2020 11:39:08 +0100 From: Daniel Kiper To: Olaf Hering Cc: grub-devel@gnu.org, pjones@redhat.com Subject: Re: compile error in master, restrict is missing Message-ID: <20200311103908.comjbljgbtyfrnsf@tomti.i.net-space.pl> References: <20200311084433.65e9d369.olaf@aepfle.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200311084433.65e9d369.olaf@aepfle.de> User-Agent: NeoMutt/20170113 (1.7.2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 84.10.22.86 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: Wed, 11 Mar 2020 10:51:22 -0000 Hi Olaf, CC-ing Peter... On Wed, Mar 11, 2020 at 08:44:33AM +0100, Olaf Hering wrote: > I understand that grub.git#master does (most likely) compile for everyone else: > > [ 135s] + env CFLAGS=-Wall CXXFLAGS=-Wall FFLAGS=-Wall ../grub2-src/configure --target=i386-suse-linux --with-platform=pc --prefix=/usr/lib64/grub2-chainloader --disable-boot-time --disable-cache-stats --disable-device-mapper --disable-efiemu --disable-grub-emu-pci --disable-grub-emu-sdl --disable-grub-mkfont --disable-grub-mount --disable-grub-themes --disable-liblzma --disable-libzfs --enable-mm-debug --disable-nls --disable-werror --enable-rpath --with-bootdir=/chainloader/grub2-chainloader --enable-grub-mkfont --enable-grub-themes --with-grubdir=grub2 > ... > [ 207s] In file included from ../grub2-src/util/grub-mkfont.c:21:0: > [ 207s] ../grub2-src/include/grub/misc.h:264:64: error: expected ';', ',' or ')' before 'str' > [ 207s] unsigned long EXPORT_FUNC(grub_strtoul) (const char * restrict str, const char ** const restrict end, int base); > [ 207s] ^ Yeah, I added tons of patches yesterday evening and build tested. Nothing suspicious pooped out. I expect that the issues you are hitting are related to set of configure flags which you are using. Anyway, it has to be fixed... > Where is 'restrict' supposed to come from? Peter, could you take a look at this? Daniel