This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: support for GCC4.0's fvisibility option in JNIEXPORT macro
- From: Tom Tromey <tromey at redhat dot com>
- To: "Jan Nijtmans" <nijtmans at users dot sourceforge dot net>
- Cc: java-patches at gcc dot gnu dot org
- Date: 30 Mar 2007 13:40:27 -0600
- Subject: Re: support for GCC4.0's fvisibility option in JNIEXPORT macro
- References: <15058dc60703270058tee47109nfb6831611a35f684@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "Jan" == Jan Nijtmans <nijtmans@users.sourceforge.net> writes:
Jan> 2007-??-?? Jan Nijtmans <nijtmans@users.sourceforge.net>
Jan> * jni_md.h: Add the possibility to compile jni code with.
Jan> -fvisibility=hidden. This causes all symbols to be hidden
Jan> except the JNI functions which need to be exported.
FWIW this seems like a reasonable idea to me.
I couldn't think of anything this would break.
Any other comments? Otherwise I will put it in.
Tom