[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile error in master, restrict is missing

From: Daniel Kiper
Subject: Re: compile error in master, restrict is missing
Date: Wed, 11 Mar 2020 11:39:08 +0100
User-agent: NeoMutt/20170113 (1.7.2)

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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]