From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32680 invoked by alias); 30 Jan 2004 17:10:32 -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 32596 invoked by uid 48); 30 Jan 2004 17:10:30 -0000 Date: Fri, 30 Jan 2004 17:10:00 -0000 Message-ID: <20040130171030.32595.qmail@sources.redhat.com> From: "bangerth at dealii dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040130165003.13935.giovannibajo@libero.it> References: <20040130165003.13935.giovannibajo@libero.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/13935] [3.4/3.5 Regression] Template friend lookup bug X-Bugzilla-Reason: CC X-SW-Source: 2004-01/txt/msg03890.txt.bz2 List-Id: ------- Additional Comments From bangerth at dealii dot org 2004-01-30 17:10 ------- It fails with the same error on 3.3.3-pre. However, I'm not sure whether this is not illegal: you first say friend class B; but then you declare B as a template: template class B What confuses me is that this is not detected. W. -- What |Removed |Added ---------------------------------------------------------------------------- Known to fail|3.4.0 3.5.0 |3.4.0 3.5.0 3.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13935