From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8455 invoked by alias); 16 Feb 2007 11:25:15 -0000 Received: (qmail 8279 invoked by uid 48); 16 Feb 2007 11:25:02 -0000 Date: Fri, 16 Feb 2007 11:25:00 -0000 Message-ID: <20070216112502.8278.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/30818] [4.1/4.2/4.3 Regression] templates and typedefs cause function prototype not to match In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rguenth at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg01921.txt.bz2 ------- Comment #1 from rguenth at gcc dot gnu dot org 2007-02-16 11:25 ------- EDG happily eats this. With mainline the error looks like t.ii:18: error: prototype for ‘typename A::B::type A::B::f()’ does not match any in class ‘A::B’ t.ii:13: error: candidate is: typename A::type A::B::f() t.ii:18: error: ‘typename A::B::type A::B::f()’ cannot be overloaded t.ii:13: error: with ‘typename A::type A::B::f()’ t.ii:18: error: template definition of non-template ‘typename A::B::type A::B::f()’ -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Known to fail|4.1.2 |4.1.2 4.2.0 4.3.0 Last reconfirmed|0000-00-00 00:00:00 |2007-02-16 11:25:02 date| | Summary|[4.1.2 Regression] templates|[4.1/4.2/4.3 Regression] |and typedefs cause function |templates and typedefs cause |prototype not to match |function prototype not to | |match http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30818