From: "Plapp, Phillip" <phillip.plapp@hp.com>
To: <gcc-help@gcc.gnu.org>
Subject: gcj
Date: Fri, 23 Apr 2004 15:37:00 -0000 [thread overview]
Message-ID: <242175EA3C8D3045B8D77EE70A063DB50295F20A@bbnexc02.emea.cpqcorp.net> (raw)
Hello gnu,
I've been playing around with the CNI from gcj, which I find really
helpful, and have come up with a question. I have looked over the
documentation, but still cannot answer the question myself so I've
reduced myself to bothering somebody else. This is not an
emergency.......
In my C++ CNI file I access a java ArrayList which contains several
instances of my class ItemVersionStatistics.
When I enter the line,
ItemVersionStatistics *ivs = (ItemVersionStatistics)
arrayListVariable->get(0);
The compiler gives the following error message:
ItemTest.cpp: In function `int main(int, char*)':
ItemTest.cpp:643: error: no matching function for call to
`ItemVersionStatistics::ItemVersionStatistics(java::lang::Object*)'
./ItemVersionStatistics.h:33: note: candidates are:
ItemVersionStatistics::ItemVersionStatistics(java
::lang::String*, java::util::Date*, java::util::ArrayList*)
To me it looks like the type cast is being ignored.
What am I doing wrong?
Thanks!
Phillip Plapp
next reply other threads:[~2004-04-23 15:37 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-23 15:37 Plapp, Phillip [this message]
[not found] <200901181717.n0IHHMOM028799@smtp.google.com>
2009-01-20 1:06 ` gcj Ian Lance Taylor
-- strict thread matches above, loose matches on Subject: below --
2009-01-18 17:17 gcj Franklyn Simon
2009-01-18 17:17 gcj Franklyn Simon
2004-04-27 15:24 gcj Plapp, Phillip
2004-04-23 15:45 gcj bserdar
1999-11-23 5:47 gcj Ashwin Kapur
1999-11-23 5:43 ` gcj Eric Doenges
1999-11-30 23:28 ` gcj Eric Doenges
1999-11-30 23:28 ` gcj Ashwin Kapur
1999-10-27 21:31 gcj Chris Majewski
1999-10-27 21:52 ` gcj Anthony Green
1999-10-31 13:57 ` gcj Anthony Green
1999-10-31 13:57 ` gcj Chris Majewski
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=242175EA3C8D3045B8D77EE70A063DB50295F20A@bbnexc02.emea.cpqcorp.net \
--to=phillip.plapp@hp.com \
--cc=gcc-help@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).