_GLIBCXX_END_NAMESPACE_* invalid closure order

Submitted by François Dumont on July 30, 2012, 7:16 p.m.

Details

Message ID 5016DD90.6050704@gmail.com
State New
Headers show

Commit Message

François Dumont July 30, 2012, 7:16 p.m.
Even if it doesn't make any difference after preprocessing the 
attached patch fix the closure order in definition of 
_GLIBCXX_END_NAMESPACE_* macros.

2012-07-30  François Dumont <fdumont@gcc.gnu.org>

     * include/bits/c++config (_GLIBCXX_END_NAMESPACE_CONTAINER): Fix
     order of closures.
     (_GLIBCXX_END_NAMESPACE_ALGO): Likewise.

Ok for trunk ?

François

Comments

Jonathan Wakely July 30, 2012, 7:35 p.m.
On 30 July 2012 20:16, François Dumont wrote:
> Ok for trunk ?

OK, thanks.

Patch hide | download patch | download mbox

Index: include/bits/c++config
===================================================================
--- include/bits/c++config	(revision 189936)
+++ include/bits/c++config	(working copy)
@@ -287,7 +287,7 @@ 
 # define _GLIBCXX_BEGIN_NAMESPACE_CONTAINER \
 	 namespace _GLIBCXX_STD_C { _GLIBCXX_BEGIN_NAMESPACE_VERSION
 # define _GLIBCXX_END_NAMESPACE_CONTAINER \
-	 } _GLIBCXX_END_NAMESPACE_VERSION
+	 _GLIBCXX_END_NAMESPACE_VERSION }
 # undef _GLIBCXX_EXTERN_TEMPLATE
 # define _GLIBCXX_EXTERN_TEMPLATE -1
 #endif
@@ -297,7 +297,7 @@ 
 # define _GLIBCXX_BEGIN_NAMESPACE_ALGO \
 	 namespace _GLIBCXX_STD_A { _GLIBCXX_BEGIN_NAMESPACE_VERSION
 # define _GLIBCXX_END_NAMESPACE_ALGO \
-	 } _GLIBCXX_END_NAMESPACE_VERSION
+	 _GLIBCXX_END_NAMESPACE_VERSION }
 #endif
 
 #ifndef _GLIBCXX_STD_A