grub-devel
[Top][All Lists]
Advanced

[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: Thu, 12 Mar 2020 19:01:26 +0100
User-agent: NeoMutt/20170113 (1.7.2)

On Wed, Mar 11, 2020 at 04:57:13PM +0100, Javier Martinez Canillas wrote:
> On 3/11/20 4:41 PM, Olaf Hering wrote:
> > Am Wed, 11 Mar 2020 12:30:01 +0100
> > schrieb Javier Martinez Canillas <address@hidden>:
> >
> >> +#if !(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L))
> >
> > This does not help. I have seen similar code in one of the zstd headers.
>
> Yes, I mentioned in the commit message that it was taken from there...
>
> I would had expected that change to avoid the build failure. I wonder
> why it didn't help.
>
> > Whatever the outcome will be, it should get a 'Fixes commit d5a32255d' tag.
>
> Agreed.
>
> Daniel said that instead he will add a -std=gnu99 option so the compiler
> uses C99 even if is not its default.

Olaf, could you try the patch in the attachment? Please rerun
./autogen.sh and ./configure after applying it.

Daniel

Attachment: std.patch
Description: Text Data


reply via email to

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