Re: PATCH, libjava: silence more warnings

Dave Korn <[email protected]>
Newsgroups gmane.comp.gcc.java.devel,gmane.comp.gcc.patches
Message-ID <[email protected]>
Ben Elliston wrote:

>  ::java::lang::String *
> -java::net::VMURLConnection::guessContentTypeFromBuffer (jbyteArray bytes,
> -                                                       jint valid)
> +java::net::VMURLConnection::guessContentTypeFromBuffer (jbyteArray bytes __attribute__ ((unused)),
> +                                                       jint valid __attribute__ ((unused)))

  There's a #define MAYBE_UNUSED in include/jvm.h, as used in
java/lang/natClass.cc.  But maybe jvm.h isn't available here?

    cheers,
      DaveK
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.