public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Doods Pav <doodspav@gmail.com>
To: gcc-help@gcc.gnu.org
Subject: Is changing __STDCPP_DEFAULT_NEW_ALIGNMENT__ an ABI break
Date: Sun, 20 Mar 2022 15:38:09 +0000	[thread overview]
Message-ID: <CAA41uA6YY2yGvhtF9zbK6Srb2QB4sQyEMN0k121kZ+tNy0-qGg@mail.gmail.com> (raw)

Is changing the value of the predefined macro
`__STDCPP_DEFAULT_NEW_ALIGNMENT__` considered an ABI break? (in the same
way that modifying `alignof(std::max_align_t)` would be).

I would assume that it is, but I saw this comment on a bug report (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691#c33) and I'm unsure if
the value of the macro was later changed in a patch, and if so, if that was
considered an ABI break.

             reply	other threads:[~2022-03-20 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-20 15:38 Doods Pav [this message]
2022-03-21 11:15 ` Jonathan Wakely

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=CAA41uA6YY2yGvhtF9zbK6Srb2QB4sQyEMN0k121kZ+tNy0-qGg@mail.gmail.com \
    --to=doodspav@gmail.com \
    --cc=gcc-help@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).