Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-19 Thread Daniel Axtens
Javier Martinez Canillas writes: > Hello Daniel, > > On 5/19/20 3:47 AM, Daniel Axtens wrote: >> Javier Martinez Canillas writes: >> >>> Hello Daniel, >>> >>> On 5/18/20 5:49 PM, Daniel Kiper wrote: >>> >>> [snip] >>> > > Without this patch, clang-9 fails on the use of nested functions

Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-19 Thread Javier Martinez Canillas
Hello Daniel, On 5/19/20 3:47 AM, Daniel Axtens wrote: > Javier Martinez Canillas writes: > >> Hello Daniel, >> >> On 5/18/20 5:49 PM, Daniel Kiper wrote: >> >> [snip] >> Without this patch, clang-9 fails on the use of nested functions in commit cb2f15c54489 ("normal/main: Search

Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-18 Thread Daniel Axtens
Javier Martinez Canillas writes: > Hello Daniel, > > On 5/18/20 5:49 PM, Daniel Kiper wrote: > > [snip] > >>> >>> Without this patch, clang-9 fails on the use of nested functions in >>> commit cb2f15c54489 ("normal/main: Search for specific config files for >>> netboot") - I'll send a fix for tha

Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-18 Thread Javier Martinez Canillas
Hello Daniel, On 5/18/20 5:49 PM, Daniel Kiper wrote: [snip] >> >> Without this patch, clang-9 fails on the use of nested functions in >> commit cb2f15c54489 ("normal/main: Search for specific config files for >> netboot") - I'll send a fix for that shortly. If I revert that as a >> temporary me

Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-18 Thread Daniel Kiper
Hi Daniel, Adding Patrick... On Fri, May 15, 2020 at 11:56:56AM +1000, Daniel Axtens wrote: > Hi Daniel, > > > Commit d5a32255d (misc: Make grub_strtol() "end" pointers have safer > > const qualifiers) introduced "restrict" keyword into some functions > > definitions. This keyword was introduced

Re: [PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-14 Thread Daniel Axtens
Hi Daniel, > Commit d5a32255d (misc: Make grub_strtol() "end" pointers have safer > const qualifiers) introduced "restrict" keyword into some functions > definitions. This keyword was introduced in C99 standard. However, some > compilers by default may use C89 or something different. This behavior

[PATCH v3 2/5] configure: Set gnu99 C language standard by default

2020-05-13 Thread Daniel Kiper
Commit d5a32255d (misc: Make grub_strtol() "end" pointers have safer const qualifiers) introduced "restrict" keyword into some functions definitions. This keyword was introduced in C99 standard. However, some compilers by default may use C89 or something different. This behavior leads to the breaka