From: Mathieu Malaterre <mathieu.malaterre@gmail.com>
To: java@gcc.gnu.org
Subject: error: 'jvariant::jvariant(jbyte)' cannot be overloaded
Date: Thu, 16 Jul 2009 12:38:00 -0000 [thread overview]
Message-ID: <bf0c3b3f0907160537g2b52ccf8ydd39df0d2ae54e3c@mail.gmail.com> (raw)
Hi there,
I am trying to compile VTK using gcj and I am getting those compiler
error, could someone please let me know if the code is legal (should
compile) or not:
$ make
...
In file included from
/home/mathieu/Kitware/VTK/Graphics/vtkJavaProgrammableFilter.cxx:25:0:
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:34:3: error:
'jvariant::jvariant(jbyte)' cannot be overloaded
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:33:3: error: with
'jvariant::jvariant(jboolean)'
/home/mathieu/Kitware/VTK/Graphics/vtkJavaProgrammableFilter.cxx: In
member function 'virtual int
vtkJavaProgrammableFilter::FillInputPortInformation(int,
vtkInformation*)':
/home/mathieu/Kitware/VTK/Graphics/vtkJavaProgrammableFilter.cxx:157:159:
error: conversion from 'jvariant' to 'jboolean' is ambiguous
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:52:3: note:
candidates are: jvariant::operator __jstring*() <near match>
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:51:3: note:
jvariant::operator __jobject*() <near match>
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:50:3: note:
jvariant::operator jdouble()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:49:3: note:
jvariant::operator jfloat()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:48:3: note:
jvariant::operator jlong()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:47:3: note:
jvariant::operator jint()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:46:3: note:
jvariant::operator jshort()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:45:3: note:
jvariant::operator jchar()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:44:3: note:
jvariant::operator jbyte()
/home/mathieu/Kitware/VTK/Graphics/vtkJVMManager.h:43:3: note:
jvariant::operator jboolean()
Ref:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Graphics/vtkJVMManager.h?view=markup
http://public.kitware.com/cgi-bin/viewcvs.cgi/Graphics/vtkJavaProgrammableFilter.cxx?view=markup
Thanks,
--
Mathieu
next reply other threads:[~2009-07-16 12:38 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-16 12:38 Mathieu Malaterre [this message]
2009-07-19 6:02 ` Florian Weimer
2009-07-19 7:52 ` Andrew Haley
2009-07-19 8:17 ` Florian Weimer
2009-07-19 15:17 ` Andrew Haley
2009-07-19 18:53 ` Florian Weimer
2009-07-20 8:17 ` Andrew Haley
2009-07-20 8:28 ` Florian Weimer
2009-07-21 7:17 ` Mathieu Malaterre
2009-07-21 7:49 ` Andrew Haley
2009-07-21 8:45 ` Mathieu Malaterre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf0c3b3f0907160537g2b52ccf8ydd39df0d2ae54e3c@mail.gmail.com \
--to=mathieu.malaterre@gmail.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).