This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

sorry not implemented: address of bound pointer-to-member function


Hi,...

I'm currently using egcs-19980921 (l8est snapshot), and ran into the
error: "sorry not implemented: address of bound pointer-to-member
function".
What do I do ? Is there someone working on this implementation or do I
code around this problem ?
Also could someone explain the exact meaning of this message to me. The
thing triggering all this is trying to pass the address of a virtual
function member to some C-function.

example:

class Interface {
public:
	virtual void some_function() const =0;
};

class FooBar {
public:
	use_interface( const Interface * if) {
		Cfunc( if->some_function);
	};
};

--eoe--

kind regards,

Peter Zijlstra
--
Physics student @ University of Amsterdam


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]