From: Olaf Hering <olaf@aepfle.de>
To: grub-devel@gnu.org
Subject: compile error in master, restrict is missing
Date: Wed, 11 Mar 2020 08:44:33 +0100 [thread overview]
Message-ID: <20200311084433.65e9d369.olaf@aepfle.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --]
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?
Olaf
[-- Attachment #2: Digitale Signatur von OpenPGP --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next reply other threads:[~2020-03-11 7:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-11 7:44 Olaf Hering [this message]
2020-03-11 10:39 ` compile error in master, restrict is missing Daniel Kiper
2020-03-11 10:56 ` John Paul Adrian Glaubitz
2020-03-11 11:01 ` Olaf Hering
2020-03-11 11:03 ` John Paul Adrian Glaubitz
2020-03-11 10:59 ` Olaf Hering
2020-03-11 11:30 ` Javier Martinez Canillas
2020-03-11 15:41 ` Olaf Hering
2020-03-11 15:57 ` Javier Martinez Canillas
2020-03-12 18:01 ` Daniel Kiper
2020-03-12 18:20 ` Olaf Hering
2020-03-12 18:38 ` Daniel Kiper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200311084433.65e9d369.olaf@aepfle.de \
--to=olaf@aepfle.de \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.