From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16953 invoked by alias); 14 Jan 2005 00:38:57 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 16919 invoked by uid 48); 14 Jan 2005 00:38:53 -0000 Date: Fri, 14 Jan 2005 00:38:00 -0000 From: "johill at lanl dot gov" To: gcc-bugs@gcc.gnu.org Message-ID: <20050114003852.19434.johill@lanl.gov> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19434] New: this->baseMemberTemplate() in derived doesnt compile X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg01747.txt.bz2 List-Id: The attached snippet does not compile with the attached compiler version. class base { protected: template P fred ( T & ) {return 0;}; }; template class derived : public base { public: void jane () {T t; this->fred(t);} }; main () { derived d; d.jane (); } Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.3/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=i386-redhat-linux Thread model: posix gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-42) -- Summary: this->baseMemberTemplate() in derived doesnt compile Product: gcc Version: 3.2.3 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: johill at lanl dot gov CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: i386-redhat-linux GCC host triplet: i386-redhat-linux GCC target triplet: i386-redhat-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19434