From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24121 invoked by alias); 19 Feb 2003 23:26:01 -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 24068 invoked by uid 71); 19 Feb 2003 23:26:00 -0000 Resent-Date: 19 Feb 2003 23:26:00 -0000 Resent-Message-ID: <20030219232600.24067.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, antoxa@antoxa.com Received: (qmail 23252 invoked by uid 48); 19 Feb 2003 23:21:59 -0000 Message-Id: <20030219232159.23251.qmail@sources.redhat.com> Date: Wed, 19 Feb 2003 23:26:00 -0000 From: antoxa@antoxa.com Reply-To: antoxa@antoxa.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/9765: typedefs in base class passed as a template patameter not resolved X-SW-Source: 2003-02/txt/msg00961.txt.bz2 List-Id: >Number: 9765 >Category: c++ >Synopsis: typedefs in base class passed as a template patameter not resolved >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Wed Feb 19 23:26:00 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Anton Povarov (i.e. myself) >Release: g++ (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) >Organization: >Environment: >Description: consider the following code test_typedef.cc ------- struct Test { typedef int my_type; }; template struct A : public T { A() { my_type a; // it's line 7 } }; ---------- Compiler says: test_typedef.cc: In constructor `A::A()': test_typedef.cc:7: parse error before `;' token >How-To-Repeat: just compile with g++ no additional options needed >Fix: :) >Release-Note: >Audit-Trail: >Unformatted: