public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
From: Alexandre Oliva <aoliva@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org
Subject: [gcc r14-5474] libstdc++: bvector: undef always_inline macro
Date: Wed, 15 Nov 2023 01:28:13 +0000 (GMT)	[thread overview]
Message-ID: <20231115012813.1982C3858C41@sourceware.org> (raw)

https://gcc.gnu.org/g:a1ad62ee2fd070854d2137f35614af639c1a94f2

commit r14-5474-ga1ad62ee2fd070854d2137f35614af639c1a94f2
Author: Alexandre Oliva <oliva@adacore.com>
Date:   Tue Nov 14 22:15:29 2023 -0300

    libstdc++: bvector: undef always_inline macro
    
    It's customary to undefine temporary internal macros at the end of the
    header that defines them, even such widely-usable ones as
    _GLIBCXX_ALWAYS_INLINE, so do so in the header where the define was
    recently introduced.
    
    
    for  libstdc++-v3/ChangeLog
    
            * include/bits/stl_bvector.h (_GLIBCXX_ALWAYS_INLINE): Undef.

Diff:
---
 libstdc++-v3/include/bits/stl_bvector.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libstdc++-v3/include/bits/stl_bvector.h b/libstdc++-v3/include/bits/stl_bvector.h
index 64f04c1f4f5..8b97b61d96d 100644
--- a/libstdc++-v3/include/bits/stl_bvector.h
+++ b/libstdc++-v3/include/bits/stl_bvector.h
@@ -1630,4 +1630,6 @@ _GLIBCXX_END_NAMESPACE_CONTAINER
 _GLIBCXX_END_NAMESPACE_VERSION
 } // namespace std
 
+#undef _GLIBCXX_ALWAYS_INLINE
+
 #endif

                 reply	other threads:[~2023-11-15  1:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20231115012813.1982C3858C41@sourceware.org \
    --to=aoliva@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    --cc=libstdc++-cvs@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).