From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24340 invoked by alias); 3 Dec 2002 00:16:03 -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 24326 invoked by uid 71); 3 Dec 2002 00:16:02 -0000 Date: Mon, 02 Dec 2002 16:16:00 -0000 Message-ID: <20021203001602.24325.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Volker Reichelt Subject: Re: c++/8749: undefined reference error when declaring a function as inline and using -O3 switch Reply-To: Volker Reichelt X-SW-Source: 2002-12/txt/msg00105.txt.bz2 List-Id: The following reply was made to PR c++/8749; it has been noted by GNATS. From: Volker Reichelt To: joc@presence-pc.com Cc: gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/8749: undefined reference error when declaring a function as inline and using -O3 switch Date: Tue, 3 Dec 2002 02:10:26 +0100 On 1 Dec, jocelyn fournier wrote: > MySQL team have updated their code to respect ISO-C++ paragraph 7.1.2.4, but > it still doesn't compile. > I join to this mail the ii file of new item_sum.cc (where mark_as_sum_func > function is) and of sql_yacc.cc (from where the error occurs during the > link). There's still no definition of mark_as_sum_func in sql_yacc.ii. There's just a declaration and three calls, but no definition. Regards, Volker http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8749