[Top][All Lists]

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

compile error in master, restrict is missing

From: Olaf Hering
Subject: compile error in master, restrict is missing
Date: Wed, 11 Mar 2020 08:44:33 +0100

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]                                                                 ^

Where is 'restrict' supposed to come from?


Attachment: pgpqDrWqsPmrC.pgp
Description: Digitale Signatur von OpenPGP

reply via email to

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