public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-5474] libstdc++: bvector: undef always_inline macro
@ 2023-11-15  1:28 Alexandre Oliva
  0 siblings, 0 replies; only message in thread
From: Alexandre Oliva @ 2023-11-15  1:28 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-11-15  1:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-15  1:28 [gcc r14-5474] libstdc++: bvector: undef always_inline macro Alexandre Oliva

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).