From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2140) id 1982C3858C41; Wed, 15 Nov 2023 01:28:13 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1982C3858C41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700011693; bh=sNNwNPrR6r6OpB7uAMhgyp0NuCSUgD+kHSe9vw7Qo0I=; h=From:To:Subject:Date:From; b=n38TNHbqHLtYbY6sUE0EJnQNllcUkohmlHSdNyHKvQBzSW5vwolwg1OqL9Yt1PP6j j8VUn4Aw/+JYxFOH6rHK6ERmQCPV8Ljd40Bc1aGZp2GRaEmCNMM51UtPisbhfHtxf3 RjedAN5et+OF7oc+2RbmP8zQNPEpIYyNWXl/TVPU= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Alexandre Oliva To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r14-5474] libstdc++: bvector: undef always_inline macro X-Act-Checkin: gcc X-Git-Author: Alexandre Oliva X-Git-Refname: refs/heads/master X-Git-Oldrev: 2220263f0e032a6af3cea44a17735833baa5fd93 X-Git-Newrev: a1ad62ee2fd070854d2137f35614af639c1a94f2 Message-Id: <20231115012813.1982C3858C41@sourceware.org> Date: Wed, 15 Nov 2023 01:28:13 +0000 (GMT) List-Id: https://gcc.gnu.org/g:a1ad62ee2fd070854d2137f35614af639c1a94f2 commit r14-5474-ga1ad62ee2fd070854d2137f35614af639c1a94f2 Author: Alexandre Oliva 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