From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13828 invoked by alias); 26 May 2004 19:07:56 -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 13801 invoked by uid 48); 26 May 2004 19:07:55 -0000 Date: Thu, 27 May 2004 11:44:00 -0000 Message-ID: <20040526190755.13800.qmail@sourceware.org> From: "igodard at pacbell dot net" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20040526185537.15664.igodard@pacbell.net> References: <20040526185537.15664.igodard@pacbell.net> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/15664] Linker fails to find (inline) function X-Bugzilla-Reason: CC X-SW-Source: 2004-05/txt/msg03109.txt.bz2 List-Id: ------- Additional Comments From igodard at pacbell dot net 2004-05-26 19:07 ------- More info: if the friend declaration is removed (with everything necessary made public so the definition compiles) then the problem goes away. This suggests that the compiler is generating a reference to the friend somehow, and not considering the definition to be the same as the friend. Odd. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15664