* Re: [PATCH] [v2] Kbuild: move to -std=gnu11
[not found] <[email protected]>
@ 2022-03-01 10:43 ` Miguel Ojeda
0 siblings, 0 replies; only message in thread
From: Miguel Ojeda @ 2022-03-01 10:43 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Linux Kbuild mailing list, Arnd Bergmann, Linus Torvalds,
Masahiro Yamada, llvm, Jonathan Corbet, Federico Vaga, Alex Shi,
Hu Haowen, Michal Marek, Nick Desaulniers,
Linux Doc Mailing List, linux-kernel, linux-doc-tw-discuss,
Linux ARM, Intel Graphics Development, dri-devel, gwml,
greybus-dev, linux-staging, Linux Btrfs
On Mon, Feb 28, 2022 at 11:32 AM Arnd Bergmann <[email protected]> wrote:
>
> -under ``-std=gnu89`` [gcc-c-dialect-options]_: the GNU dialect of ISO C90
> -(including some C99 features). ``clang`` [clang]_ is also supported, see
> +under ``-std=gnu11`` [gcc-c-dialect-options]_: the GNU dialect of ISO C11
> +(including some C17 features). ``clang`` [clang]_ is also supported, see
I think the "(including some C17)" bit would not make much sense
anymore. There were no major changes in C17 and GCC implements
`-std=c11` and `-std=c17` as basically the same thing according to the
docs (and GNU extensions apply equally to both, I would assume).
When I wrote the "(including some C99 features)" I meant that GCC
implemented some C99 features as extensions in C90 mode, and the
kernel used some of those (e.g. the now gone VLAs).
With that changed, for `programming-language.rst`:
Reviewed-by: Miguel Ojeda <[email protected]>
Cheers,
Miguel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-01 10:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <[email protected]>
2022-03-01 10:43 ` [PATCH] [v2] Kbuild: move to -std=gnu11 Miguel Ojeda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox