From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31052 invoked by alias); 19 Apr 2002 15:16:08 -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 31013 invoked by uid 71); 19 Apr 2002 15:16:03 -0000 Resent-Date: 19 Apr 2002 15:16:03 -0000 Resent-Message-ID: <20020419151603.31011.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, rdhunt@sandia.gov Received:(qmail 30490 invoked by uid 61); 19 Apr 2002 15:14:38 -0000 Message-Id:<20020419151438.30486.qmail@sources.redhat.com> Date: Fri, 19 Apr 2002 08:16:00 -0000 From: rdhunt@sandia.gov Reply-To: rdhunt@sandia.gov To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6374: Problem 3560 "Problem with template enum" doesn't seem to be fixed in 3.0.3 X-SW-Source: 2002-04/txt/msg00975.txt.bz2 List-Id: >Number: 6374 >Category: c++ >Synopsis: Problem 3560 "Problem with template enum" doesn't seem to be fixed in 3.0.3 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Fri Apr 19 08:16:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Richard Hunt >Release: 3.0.3 >Organization: >Environment: SunOS 5.8 sunru sparc SUNW,Sun-Blade-1000 >Description: I am experiencing the exact problem stated in problem report 3560 which looks like it should have been fixed in Oct. 2001. It was reported in GCC 3.0 so I would think it should have been fixed in 3.0.3. Either way it is still a problem. >How-To-Repeat: g++ main.C -o main main.C:7: invalid use of undefined type `enum Foo::Exceptions' main.C:6: forward declaration of `enum Foo::Exceptions' >Fix: None, but this problem doesn't exist in 2.91 or 2.96 >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/x-unknown-content-type-cfile; name="main.C" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="main.C" CnRlbXBsYXRlIDxjbGFzcyBUPgpjbGFzcyBGb28KewpwdWJsaWM6CiAgZW51bSBFeGNlcHRpb25z IHsgQSxCLEMgfTsKICB2b2lkIGZvbygpIHRocm93KEV4Y2VwdGlvbnMpCiAgICB7CiAgICB9Cn07 CgppbnQgbWFpbigpCnsKICByZXR1cm4gMDsKfQo=