qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: "Alex Bennée" <alex.bennee@linaro.org>, qemu-devel@nongnu.org
Cc: peter.maydell@linaro.org
Subject: Re: [RFC PATCH] docs/devel: update C standard to C11
Date: Wed, 15 Dec 2021 09:52:54 -0800	[thread overview]
Message-ID: <08cf6058-974e-ebca-4e3d-bbb1ad257d0f@linaro.org> (raw)
In-Reply-To: <20211215152055.1748462-1-alex.bennee@linaro.org>

On 12/15/21 7:20 AM, Alex Bennée wrote:
> Since 8a9d3d5640 (configure: Use -std=gnu11) we have allowed C11 code
> so lets reflect that in the style guide.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>   docs/devel/style.rst | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/docs/devel/style.rst b/docs/devel/style.rst
> index d7315f45f4..a80abcd0c7 100644
> --- a/docs/devel/style.rst
> +++ b/docs/devel/style.rst
> @@ -486,11 +486,11 @@ of arguments.
>   C standard, implementation defined and undefined behaviors
>   ==========================================================
>   
> -C code in QEMU should be written to the C99 language specification. A copy
> -of the final version of the C99 standard with corrigenda TC1, TC2, and TC3
> -included, formatted as a draft, can be downloaded from:
> +C code in QEMU should be written to the C11 language specification. A
> +copy of the final version of the C11 standard formatted as a draft,
> +can be downloaded from:
>   
> -    `<http://www.open-std.org/jtc1/sc22/WG14/www/docs/n1256.pdf>`_
> +    `<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1548.pdf>`_
>   
>   The C language specification defines regions of undefined behavior and
>   implementation defined behavior (to give compiler authors enough leeway to

Oops, yes.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~



      parent reply	other threads:[~2021-12-15 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15 15:20 [RFC PATCH] docs/devel: update C standard to C11 Alex Bennée
2021-12-15 15:38 ` Daniel P. Berrangé
2021-12-15 15:46 ` Philippe Mathieu-Daudé
2021-12-15 17:52 ` Richard Henderson [this message]

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=08cf6058-974e-ebca-4e3d-bbb1ad257d0f@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).