[gcc r14-5474] libstdc++: bvector: undef always_inline macro

Alexandre Oliva aoliva@gcc.gnu.org
Wed Nov 15 01:28:13 GMT 2023


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


More information about the Libstdc++-cvs mailing list