This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: C++ PATCH: PR 15815
- From: Jason Merrill <jason at redhat dot com>
- To: Ranjit Mathew <rmathew at gmail dot com>
- Cc: mark at codesourcery dot com, gcc-patches at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: Tue, 08 Jun 2004 10:16:25 -0400
- Subject: Re: C++ PATCH: PR 15815
- References: <200406071924.i57JOvCf018313@sirius.codesourcery.com><40C5695B.8080307@gmail.com>
On Tue, 08 Jun 2004 12:53:07 +0530, Ranjit Mathew <rmathew@gmail.com> wrote:
> However, this caused a link failure for libjava where
> the linker is unable to find "_Jv_InitClass".
>
> This function is declared 'extern "C"' in
> "libjava/java/lang/Class.h" (and elsewhere, as needed).
>
> The same header file defines this function as an "inline friend"
> function.
This function should not be declared inline, since it's a hook for the Java
front end.
Jason