bug-gnulib@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: bug-gnulib@gnu.org
Subject: Re: [PATCH v2] Define alignof_slot using _Alignof when using C11 or newer
Date: Sun, 15 Jan 2023 15:05:33 -0800	[thread overview]
Message-ID: <CAMKF1srsXH=Qc5gUGMLh2_u-L-bgh_Pb6+6dF6WXZw3JJQ7nsA@mail.gmail.com> (raw)
In-Reply-To: <6427f898-83b5-abe2-afd3-a4dc9ecb7a09@cs.ucla.edu>

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

On Sun, Jan 15, 2023 at 11:52 AM Paul Eggert <eggert@cs.ucla.edu> wrote:

> On 2023-01-14 17:51, Paul Eggert wrote:
>
> > We already have two copies of that stuff elsewhere (in lib/stdalign.in.h
> > and m4/stdalign.m4), for reasons that currently escape me.
>
> To try to address that in an upward-compatible way, I installed the
> attached. This shrinks the number of copies of that code down to one.
> The basic idea is to prefer C23 semantics in apps and the rest of Gnulib
> by using the new alignasof module, whereas the existing stdalign module
> is now for C11/C17 compatibility and is now deprecated.


Your patch fixed the issue I did not try regenerating the gnulib in the
concerned project but copied the change manually to test. AFAICT c++ looks
to be not affected

>

[-- Attachment #2: Type: text/html, Size: 1253 bytes --]

  parent reply	other threads:[~2023-01-15 23:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-15  1:20 [PATCH v2] Define alignof_slot using _Alignof when using C11 or newer Khem Raj
2023-01-15  1:51 ` Paul Eggert
2023-01-15 19:52   ` Paul Eggert
2023-01-15 19:56     ` Paul Eggert
2023-01-15 23:05     ` Khem Raj [this message]
2023-01-16 17:01     ` Bruno Haible

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

  List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMKF1srsXH=Qc5gUGMLh2_u-L-bgh_Pb6+6dF6WXZw3JJQ7nsA@mail.gmail.com' \
    --to=raj.khem@gmail.com \
    --cc=bug-gnulib@gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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).