public inbox for cygwin-patches@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin-patches@cygwin.com
Subject: Re: [PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[] consistency checks
Date: Mon, 26 Feb 2024 16:48:16 +0100	[thread overview]
Message-ID: <ZdyywDSKMTtZCk-8@calimero.vinschen.de> (raw)
In-Reply-To: <7f17e15c-ef28-06fd-3a6d-cac60a651960@t-online.de>

On Feb 26 15:21, Christian Franke wrote:
> From 947daa02b0b64131626c2ecedb74ca6893aab6c6 Mon Sep 17 00:00:00 2001
> From: Christian Franke <christian.franke@t-online.de>
> Date: Mon, 26 Feb 2024 13:37:33 +0100
> Subject: [PATCH 1/4] Cygwin: introduce constexpr errmap_size and errmap[]
>  consistency checks
> 
> Use constexpr instead of const for errmap[] to allow static_assert
> checks on its values.
> 
> Signed-off-by: Christian Franke <christian.franke@t-online.de>
> ---
>  winsup/cygwin/errno.cc                |  2 +-
>  winsup/cygwin/local_includes/errmap.h | 11 ++++++++++-
>  2 files changed, 11 insertions(+), 2 deletions(-)

:+1:
Patchset pushed.


Thanks,
Corinna


      parent reply	other threads:[~2024-02-26 15:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 14:21 Christian Franke
2024-02-26 14:24 ` [PATCH 2/4] Cygwin: errmap[]: reduce value size from 32 to 8 bits Christian Franke
2024-02-26 14:25 ` [PATCH 3/4] Cygwin: errmap[]: add error numbers to /* ERROR_... */ comments Christian Franke
2024-02-26 14:27 ` [PATCH 4/4] Cygwin: errmap[]: update comments using current winerror.h Christian Franke
2024-02-26 15:48 ` Corinna Vinschen [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=ZdyywDSKMTtZCk-8@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin-patches@cygwin.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).