]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
2014-12-20 François Dumont <fdumont@gcc.gnu.org>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2014 08:37:02 +0000 (08:37 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 20 Dec 2014 08:37:02 +0000 (08:37 +0000)
* include/bits/c++config: inline __cxx11 namespace within namespace
__cxx1998.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218988 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config

index 0572f17e1e4fac1055050b5d147d38c9a0ba2edb..39e973c9420cc7ef1590f3802c5b4da3457ace50 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-20  François Dumont  <fdumont@gcc.gnu.org>
+
+       * include/bits/c++config: inline __cxx11 namespace within namespace
+       __cxx1998.
+
 2014-12-20  Jonathan Wakely  <jwakely@redhat.com>
 
        * src/c++98/locale-inst.cc (__add_grouping, __pad, __int_to_char):
index cffb065ce18ffacf1aec1bfa2e5599ce5155af67..ec7414dfd270a566954bc6b131348b591bfff37e 100644 (file)
@@ -277,9 +277,13 @@ namespace std
   // Non-inline namespace for components replaced by alternates in active mode.
   namespace __cxx1998
   {
-#if _GLIBCXX_INLINE_VERSION
- inline namespace __7 { }
-#endif
+# if _GLIBCXX_INLINE_VERSION
+  inline namespace __7 { }
+# endif
+
+# if _GLIBCXX_USE_CXX11_ABI
+  inline namespace __cxx11 __attribute__((abi_tag)) { }
+# endif
   }
 
   // Inline namespace for debug mode.