This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: header file inline causing problems


Tom or anyone for that mater.

In an effort to work around this how do you turn inline method bodies when generating CNI headers.
It was not obvious from gcjh --help.


Thanks

Tom Tromey wrote:
"Ranjit" == Ranjit Mathew <rmathew@gmail.com> writes:


Ranjit> Since natLogger.cc doesn't explicitly define getName(), I guess
Ranjit> this is the result of a funky interaction between using
Ranjit> #pragma interface/implementation and weak symbols support:
Ranjit>   http://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Interface.html
Ranjit> But 4.0 should have weak symbols support for Cygwin/MinGW:
Ranjit>   http://gcc.gnu.org/ml/gcc-cvs/2004-11/msg00265.html
Ranjit> So I am confused...

We always have the option of not generating inline method bodies when
generating CNI headers.  I believe what we do here isn't really valid,
it just always happened to work.

Tom


-- Steve Pribyl Steve AT NetFuel dot com Computer Infrastructure Practitioner

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]