From: Chris Hennes <chennes@sukrahelitek.com>
To: bjensen@fastmail.fm
Cc: gcc-help@gcc.gnu.org
Subject: Re: Dynamic loader and virtual functions
Date: Sat, 17 Aug 2002 06:16:00 -0000 [thread overview]
Message-ID: <3D5E4CC2.6010802@sukrahelitek.com> (raw)
In-Reply-To: <3D5E4760.D96E3EFB@fastmail.fm>
Bjorn et. al,
Thanks for the input, and for the link. Unfortunately, binary
compatibility does not seem to be the issue here. This problem appears
even if I change the class to not inherit from anything. I add a virtual
function in the header and poof! dlsym can't find the extern "C" function.
What's really strange is that this new class is being instantiated as a
member of the main class for this plugin. In each plugin, this main
class is derived from a plugin base class in the main application which
contains virtual functions. The plugin class overrides these virtual
function (successfully), and this has no effect on dlsym finding the
LoadPlugin function. Why is this suddenly appearing when I add a new
class with virtual functions to the .so???
Chris
next prev parent reply other threads:[~2002-08-17 13:16 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-17 5:28 Chris Hennes
2002-08-17 5:53 ` bjorn rohde jensen
2002-08-17 6:16 ` Chris Hennes [this message]
2002-08-17 8:02 ` bjorn rohde jensen
2002-08-17 8:10 ` Chris Hennes
2002-08-17 11:19 ` bjorn rohde jensen
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=3D5E4CC2.6010802@sukrahelitek.com \
--to=chennes@sukrahelitek.com \
--cc=bjensen@fastmail.fm \
--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).