[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile error in master, restrict is missing
From: |
Javier Martinez Canillas |
Subject: |
Re: compile error in master, restrict is missing |
Date: |
Wed, 11 Mar 2020 16:57:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 |
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
>
Best regards,
--
Javier Martinez Canillas
Software Engineer - Desktop Hardware Enablement
Red Hat
- compile error in master, restrict is missing, Olaf Hering, 2020/03/11
- Re: compile error in master, restrict is missing, Daniel Kiper, 2020/03/11
- Re: compile error in master, restrict is missing, Olaf Hering, 2020/03/11
- Re: compile error in master, restrict is missing, Javier Martinez Canillas, 2020/03/11
- Re: compile error in master, restrict is missing, Olaf Hering, 2020/03/11
- Re: compile error in master, restrict is missing,
Javier Martinez Canillas <=
- Re: compile error in master, restrict is missing, Daniel Kiper, 2020/03/12
- Re: compile error in master, restrict is missing, Olaf Hering, 2020/03/12
- Re: compile error in master, restrict is missing, Daniel Kiper, 2020/03/12