public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/17137] New: [mingw/cygwin] Conflicting JNI function declarations
@ 2004-08-22 10:06 dannysmith at users dot sourceforge dot net
  2004-08-22 10:11 ` [Bug libgcj/17137] " dannysmith at users dot sourceforge dot net
  0 siblings, 1 reply; 2+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2004-08-22 10:06 UTC (permalink / raw)
  To: java-prs

This has been reported to Java list.  Reporting here so it doesn't get lost.

While testing a patch to fix PR c++/15774 (Conflicting function decls
not diagnosed)  http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15774

I get this in libjava build.

../../../gcc/libjava/jni.cc:
In function `java::lang::Object* _Jv_JNI_ToReflectedField(JNIEnv*,
java::lang::Class*, _Jv_Field*, jboolean)'
: ../../../gcc/libjava/jni.cc:1612: error: new declaration
`java::lang::Object* _Jv_JNI_ToReflectedField(JNIEnv*,
java::lang::Class*, _Jv_Field*, jboolean)'

./java/lang/reflect/Field.h:70: error: ambiguates old declaration
`java::lang::Object* _Jv_JNI_ToReflectedField(_Jv_JNIEnv*,
java::lang::Class*, _Jv_Field*, jboolean)'

 ../../../gcc/libjava/jni.cc:
In function `java::lang::Object* _Jv_JNI_ToReflectedMethod(JNIEnv*,
java::lang::Class*, _Jv_Method*, jboolean)':
../../../gcc/l

-- 
           Summary: [mingw/cygwin] Conflicting JNI function declarations
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dannysmith at users dot sourceforge dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17137


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libgcj/17137] [mingw/cygwin] Conflicting JNI function declarations
  2004-08-22 10:06 [Bug libgcj/17137] New: [mingw/cygwin] Conflicting JNI function declarations dannysmith at users dot sourceforge dot net
@ 2004-08-22 10:11 ` dannysmith at users dot sourceforge dot net
  0 siblings, 0 replies; 2+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2004-08-22 10:11 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From dannysmith at users dot sourceforge dot net  2004-08-22 10:11 -------
Sorry, about the duplication

*** This bug has been marked as a duplicate of 17136 ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
            Summary|[mingw/cygwin] Conflicting  |[mingw/cygwin] Conflicting
                   |JNI function declarations   |JNI function declarations


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17137


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-22 10:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-22 10:06 [Bug libgcj/17137] New: [mingw/cygwin] Conflicting JNI function declarations dannysmith at users dot sourceforge dot net
2004-08-22 10:11 ` [Bug libgcj/17137] " dannysmith at users dot sourceforge dot net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).