This is the mail archive of the java-patches@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: Patch: FYI: small GdkFontMetrics fix


>>>>> "Tom" == Thomas Fitzsimmons <fitzsim@redhat.com> writes:

Tom> +  (JNIEnv *env, jobject obj __attribute__((unused)), jstring fname,

For libgcj this sort of thing is fine.  For Classpath I'd imagine
we're still, at least in theory, supporting non-gcc compilers.  The
standard fix is to introduce a new #define ATTRIBUTED_UNUSED that is
defined to be empty for non-gcc compilers...

Tom


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