public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: matoj@dec.upjs.sk To: gcc-gnats@gcc.gnu.org Subject: c++/5970: gcc 2.95 namespace problem Date: Fri, 15 Mar 2002 00:36:00 -0000 [thread overview] Message-ID: <20020315083040.28513.qmail@sources.redhat.com> (raw) >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 <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. >How-To-Repeat: class C { public: C(); }; namespace A::B { int i; C c; c; } >Fix: >Release-Note: >Audit-Trail: >Unformatted:
next reply other threads:[~2002-03-15 8:36 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-03-15 0:36 matoj [this message] 2002-03-15 20:37 rodrigc
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020315083040.28513.qmail@sources.redhat.com \ --to=matoj@dec.upjs.sk \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).