From patchwork Mon Jul 30 19:16:32 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Fran=C3=A7ois_Dumont?= X-Patchwork-Id: 174077 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 9B8752C0080 for ; Tue, 31 Jul 2012 05:16:56 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1344280616; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=oFS46kq fSzPSYv1w+qiUkDBVfMo=; b=gd1BhtAyzyMbf2nrMBnLdKlZcxLIoZIdwMeG67W 7zhazBtWokQNthXn5m2//TPssPzBs/zsc/8mmD/omm8ICh+HPk6EnJsdfidKK0s9 kesY+TRfuHsLkvV/sYZUM2fiT8p2oqAgN3OyYaixJslqkMiEy/d+rtZy1ifcl7rW BwIA= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Message-ID:Date:From:User-Agent:MIME-Version:To:Subject:Content-Type:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=DuzGiN3rKPsnOObhXu8hJSl7g/whaR5xABb//gk0ksOPuvnOyN8K0vV8rG/6JG MPNQ3svO9/uXYVnkJlyxfxegDxeSV8b5RENnGqwrHnSfu69MSZZvB8mLURWuXSei vqbRECgGXRm2/nbiceImlcKLIqfhofCr5uoqFy5A1dm9U=; Received: (qmail 23445 invoked by alias); 30 Jul 2012 19:16:51 -0000 Received: (qmail 23427 invoked by uid 22791); 30 Jul 2012 19:16:49 -0000 X-SWARE-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE, UPPERCASE_50_75 X-Spam-Check-By: sourceware.org Received: from mail-ey0-f175.google.com (HELO mail-ey0-f175.google.com) (209.85.215.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 30 Jul 2012 19:16:37 +0000 Received: by eaad12 with SMTP id d12so149221eaa.20 for ; Mon, 30 Jul 2012 12:16:35 -0700 (PDT) Received: by 10.14.202.69 with SMTP id c45mr13488119eeo.4.1343675795370; Mon, 30 Jul 2012 12:16:35 -0700 (PDT) Received: from localhost.localdomain (arf62-1-82-237-250-248.fbx.proxad.net. [82.237.250.248]) by mx.google.com with ESMTPS id 9sm11143384eei.12.2012.07.30.12.16.33 (version=SSLv3 cipher=OTHER); Mon, 30 Jul 2012 12:16:34 -0700 (PDT) Message-ID: <5016DD90.6050704@gmail.com> Date: Mon, 30 Jul 2012 21:16:32 +0200 From: =?ISO-8859-1?Q?Fran=E7ois_Dumont?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120723 Thunderbird/14.0 MIME-Version: 1.0 To: "libstdc++@gcc.gnu.org" , gcc-patches Subject: _GLIBCXX_END_NAMESPACE_* invalid closure order Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org 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 * include/bits/c++config (_GLIBCXX_END_NAMESPACE_CONTAINER): Fix order of closures. (_GLIBCXX_END_NAMESPACE_ALGO): Likewise. Ok for trunk ? François 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