From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6254 invoked by alias); 15 Mar 2002 08:36:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6210 invoked by uid 71); 15 Mar 2002 08:36:02 -0000 Resent-Date: 15 Mar 2002 08:36:01 -0000 Resent-Message-ID: <20020315083601.6209.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, matoj@dec.upjs.sk Received:(qmail 28518 invoked by uid 61); 15 Mar 2002 08:30:40 -0000 Message-Id:<20020315083040.28513.qmail@sources.redhat.com> Date: Fri, 15 Mar 2002 00:36:00 -0000 From: matoj@dec.upjs.sk Reply-To: matoj@dec.upjs.sk To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/5970: gcc 2.95 namespace problem X-SW-Source: 2002-03/txt/msg00497.txt.bz2 List-Id: >Number: 5970 >Category: c++ >Synopsis: gcc 2.95 namespace problem >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: ice-on-illegal-code >Submitter-Id: net >Arrival-Date: Fri Mar 15 00:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: matoj@dec.upjs.sk >Release: gcc version 2.95.2 20000220 ( Debian/GNU Linux) >Organization: >Environment: i686, kernel 2.2.18pre21 >Description: bug.cpp:25: parse error before `::' bug.cpp:29: ANSI C++ forbids declaration `c' with no type bug.cpp:29: conflicting types for `int c' bug.cpp:38: previous declaration as `class C c' bug.cpp:30: parse error before `}' bug.cpp:30: Internal compiler error in `make_decl_rtl', at varasm.c:738 Please submit a full bug report. See for instructions. >How-To-Repeat: class C { public: C(); }; namespace A::B { int i; C c; c; } >Fix: >Release-Note: >Audit-Trail: >Unformatted: