From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18441 invoked by alias); 20 May 2003 22:55:42 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18422 invoked from network); 20 May 2003 22:55:42 -0000 Received: from unknown (HELO jackfruit.Stanford.EDU) (171.64.38.136) by sources.redhat.com with SMTP; 20 May 2003 22:55:42 -0000 Received: (from carlton@localhost) by jackfruit.Stanford.EDU (8.11.6/8.11.6) id h4KMtZY14264; Tue, 20 May 2003 15:55:35 -0700 X-Authentication-Warning: jackfruit.Stanford.EDU: carlton set sender to carlton@math.stanford.edu using -f To: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com, Elena Zannoni Subject: Re: [rfa] namespace scope, take 2 References: <20030519144508.GA25940@nevyn.them.org> From: David Carlton Date: Tue, 20 May 2003 22:55:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-05/txt/msg00377.txt.bz2 On 19 May 2003 20:57:23 -0700, David Carlton said: > On Mon, 19 May 2003 10:45:08 -0400, Daniel Jacobowitz said: >> Just a couple small comments. Most of it looks good. > Thanks, checked in with your and Elena's changes. Revised > cp-namespace.c below. Whoops, I forgot to cvs add namespace1.cc. I've just fixed that. David Carlton carlton@math.stanford.edu 2003-05-20 David Carlton * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing this time. --- /dev/null 2002-08-30 16:31:37.000000000 -0700 +++ namespace1.cc 2003-05-18 10:16:49.000000000 -0700 @@ -0,0 +1,31 @@ +/* Copyright 2003 Free Software Foundation, Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + Please email any bugs, comments, and/or additions to this file to: + bug-gdb@prep.ai.mit.edu */ + +namespace C +{ + namespace { + int cXOtherFile = 29; + }; + + int cOtherFile = 316; +} + +namespace { + int XOtherFile = 317; +}