c++/8749: undefined reference error when declaring a function as inline and using -O3 switch

Volker Reichelt reichelt@igpm.rwth-aachen.de
Mon Dec 2 16:16:00 GMT 2002


The following reply was made to PR c++/8749; it has been noted by GNATS.

From: Volker Reichelt <reichelt@igpm.rwth-aachen.de>
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
 
 



More information about the Gcc-prs mailing list