From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15768 invoked by alias); 9 Nov 2002 10:16:05 -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 15739 invoked by uid 71); 9 Nov 2002 10:16:03 -0000 Resent-Date: 9 Nov 2002 10:16:03 -0000 Resent-Message-ID: <20021109101603.15738.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, darkepaw@users.sf.net Received: (qmail 15577 invoked from network); 9 Nov 2002 10:14:53 -0000 Received: from unknown (HELO darkepaw.darkepaw.dyndns.org) (210.49.253.59) by sources.redhat.com with SMTP; 9 Nov 2002 10:14:53 -0000 Received: by darkepaw.darkepaw.dyndns.org (Postfix, from userid 1000) id 37F0977B92; Sat, 9 Nov 2002 20:08:55 +1000 (EST) Message-Id: <20021109100855.37F0977B92@darkepaw.darkepaw.dyndns.org> Date: Sat, 09 Nov 2002 02:16:00 -0000 From: darkepaw@users.sf.net Reply-To: darkepaw@users.sf.net To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: 3.113 Subject: c++/8510: g++ fails when trying to compile a child class containing a vector or queue X-SW-Source: 2002-11/txt/msg00448.txt.bz2 List-Id: >Number: 8510 >Category: c++ >Synopsis: g++ fails when trying to compile a child class containing a vector or queue >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Sat Nov 09 02:16:02 PST 2002 >Closed-Date: >Last-Modified: >Originator: >Release: 3.2 >Organization: >Environment: System: Linux darkepaw.darkepaw.dyndns.org 2.4.19-gentoo-r9 #1 SMP Wed Oct 9 20:44:51 m i686 AMD Duron(tm) Processor AuthenticAMD GNU/Linux Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: /var/tmp/portage/gcc-3.2-r1/work/gcc-3.2/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++,ada,f77,objc,java --enable-threads=posix --enable-long-long --disable-checking --enable-cstdio=stdio --enable-clocale=generic --enable-__cxa_atexit --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/include/g++-v32 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext >Description: g++ fails to compile the following code snippit giving the following message: > gcc -Wall -o test2 test2.cpp test2.cpp:11: `template class std::vector' as declarator Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Code: // start code snippit #include class ODataSource { }; class OBufferDataSource : public ODataSource { private: std::vector out; }; // end code snippit It also fails with s/vector/deque/ too. Unfortunately I don't have access to any other gcc versions atm to test them with. >How-To-Repeat: Compile the above code. >Fix: No known work around. >Release-Note: >Audit-Trail: >Unformatted: