This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Dynamic loader and virtual functions
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: chennes at sukrahelitek dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sat, 17 Aug 2002 14:53:52 +0200
- Subject: Re: Dynamic loader and virtual functions
- References: <3D5E4178.6080507@sukrahelitek.com>
- Reply-to: bjensen at fastmail dot fm
Hi Chris,
You have to be pretty careful, when with all the
funny C++ stuff, when you want binary compatibility
between different versions of libraries. The biggest
issue, i would say, is, that the (runtime) linker
has to deal with all the nasty implementation details
of the language, so, what at the language level looks
very nice and compatible, might look completely
incompatible at the link level. Try looking at:
http://developer.kde.org/documentation/library/kdeqt/kde3arch/devel-binarycompatibility.html
You will find some simple guidelines there on how
to do this sort of thing. What you did is on the
list of things not to do...
Yours sincerely,
Bjorn