C++ PATCH: PR 15815

Jason Merrill jason@redhat.com
Tue Jun 8 14:51:00 GMT 2004


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



More information about the Java mailing list