This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/8749: undefined reference error when declaring a function as inline and using -O3 switch
- From: Volker Reichelt <reichelt at igpm dot rwth-aachen dot de>
- To: joc at presence-pc dot com
- Cc: gcc-bugs at gcc dot gnu dot org, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
- Date: Tue, 3 Dec 2002 02:10:26 +0100
- Subject: Re: c++/8749: undefined reference error when declaring a function as inline and using -O3 switch
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