From: fdumont Date: Wed, 24 Oct 2018 05:20:35 +0000 (+0000) Subject: 2018-10-24 François Dumont X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c0c227b93903f02d3b7bb4aed58505e58589f9f0;p=thirdparty%2Fgcc.git 2018-10-24 François Dumont * include/c_global/cstddef: Add versioned namespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@265450 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 7c583dd726ec..ecf1064b9cf7 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,7 @@ +2018-10-24 François Dumont + + * include/c_global/cstddef: Add versioned namespace. + 2018-10-23 Jonathan Wakely PR libstdc++/87704 diff --git a/libstdc++-v3/include/c_global/cstddef b/libstdc++-v3/include/c_global/cstddef index 0ca3b82338ad..b6d4a13c0b16 100644 --- a/libstdc++-v3/include/c_global/cstddef +++ b/libstdc++-v3/include/c_global/cstddef @@ -62,6 +62,7 @@ namespace std #if __cplusplus >= 201703L namespace std { +_GLIBCXX_BEGIN_NAMESPACE_VERSION #define __cpp_lib_byte 201603 /// std::byte @@ -187,6 +188,7 @@ namespace std to_integer(__byte_op_t<_IntegerType> __b) noexcept { return _IntegerType(__b); } +_GLIBCXX_END_NAMESPACE_VERSION } // namespace std #endif // C++17 } // extern "C++"