From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15825 invoked by alias); 16 Nov 2002 02:06:06 -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 15788 invoked by uid 71); 16 Nov 2002 02:06:05 -0000 Date: Thu, 21 Nov 2002 19:06:00 -0000 Message-ID: <20021116020604.15787.qmail@sources.redhat.com> To: gdr@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Wolfgang Bangerth Subject: Re: c++/3614: failing overloading of template member functions in template classes Reply-To: Wolfgang Bangerth X-SW-Source: 2002-11/txt/msg00812.txt.bz2 List-Id: The following reply was made to PR c++/3614; it has been noted by GNATS. From: Wolfgang Bangerth To: gcc-gnats@gcc.gnu.org Cc: Subject: Re: c++/3614: failing overloading of template member functions in template classes Date: Fri, 15 Nov 2002 20:10:17 -0600 (CST) May be related to PR 509. The problem also got worse. With 3.3 CVS from 2002-11-10, I get x.cc:15: error: redefinition of `int A::f()' x.cc:12: error: `int A::f()' previously declared here x.cc:15: error: no `int A::f()' member function declared in class `A' x.cc:15: error: expected 2 levels of template parms for `int A::f()', got 1 x.cc: In instantiation of `A<42>': x.cc:19: instantiated from here x.cc:7: internal compiler error: in retrieve_specialization, at cp/pt.c:727 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. Also, the circular error messages are not very helpful (redefinition -- not existing -- but expecting something from it; no what?) W. ------------------------------------------------------------------------- Wolfgang Bangerth email: bangerth@ticam.utexas.edu www: http://www.ticam.utexas.edu/~bangerth